Re: [PATCH 2/2] Fix typos in comments

2013-07-21 Thread Junio C Hamano
Ondřej Bílka writes: > A dictionary that I generated is following, patch is below. Please use only "obvious and clear typo nobody would disagree with the fix" entries and drop other entries in the "I would prefer to use a different phrasing or spelling" category. For example, as already mention

Re: [PATCH 2/2] Fix typos in comments

2013-07-20 Thread Ondřej Bílka
On Sun, Jul 21, 2013 at 01:21:10AM +0530, Ramkumar Ramachandra wrote: > Ondřej Bílka wrote: > > diff --git a/builtin/checkout.c b/builtin/checkout.c > > index 7fe0bff..9f29bb2 100644 > > --- a/builtin/checkout.c > > +++ b/builtin/checkout.c > > @@ -1137,7 +1137,7 @@ int cmd_checkout(int argc, const

Re: [PATCH 2/2] Fix typos in comments

2013-07-20 Thread brian m. carlson
On Sat, Jul 20, 2013 at 09:13:12PM +0200, Ondřej Bílka wrote: > A dictionary that I generated is following, patch is below. > > alloted allocated "allotted" is a valid word, and I think it would work fine in the code. It's probably what was intended, anyway. >behaviour b

Re: [PATCH 2/2] Fix typos in comments

2013-07-20 Thread Ramkumar Ramachandra
Ondřej Bílka wrote: > diff --git a/builtin/checkout.c b/builtin/checkout.c > index 7fe0bff..9f29bb2 100644 > --- a/builtin/checkout.c > +++ b/builtin/checkout.c > @@ -1137,7 +1137,7 @@ int cmd_checkout(int argc, const char **argv, const > char *prefix) > * 3) git checkout [] >

Re: [PATCH 2/2] Fix typos in comments

2013-07-20 Thread Ondřej Bílka
Hi, I wrote a tool that effectively fixes typos in comments and only in comments. It can be downloaded here: https://github.com/neleai/stylepp Now I fix specific typos. First I need to generate list of likely typos. This is done by running following commands in desired directory STYLEPP/script/