[PATCH] Random typofixes.

2013-07-22 Thread Ondřej Bílka
Hi, this is refactored version of my previous typofix patch. I avoid
here controversional fixes.
I am writing a https://github.com/neleai/stylepp tool to handle
various style issues.

To simplify review I wrote a utility:

stylepp_strip_diff

That takes a patch file, strips surrounding lines and prints intervals
that were changes.

Its output is below and patch follows:

- right), to make sure that lefts and rights of descendents
- correspond properly to bit masks.  We use the rightmost descendent
+ right), to make sure that lefts and rights of descendants
+ correspond properly to bit masks.  We use the rightmost descendant

   -Acknowledgements
   +Acknowledgments
^^
 to Dmitry Chichkov for reporting this. Futher thanks to Aleksey Sanin.
 to Dmitry Chichkov for reporting this. Further thanks to Aleksey Sanin.
^ ^
-   acccumulate the prefix paths.
+   accumulate the prefix paths.
^^
ions-file to /dev/null should be safe, becaue we
ions-file to /dev/null should be safe, because we
^^
   -both as cloneable Git URL and as browseable 
gitweb interface.  If you then
   +both as clonable Git URL and as browseable 
gitweb interface.  If you then
^  ^
  -   dependency automatically when the complier supports it.
  +   dependency automatically when the compiler supports it.
^^
  - * Streaming converison support
  + * Streaming conversion support
^  ^
  - * Streaming converison support
  + * Streaming conversion support
^  ^
-   could't accept the current input `multi 
byte'.   */
+   couldn't accept the current input 
`multi byte'.   */
^^
  - node that has a descendent on the current label. */
  + node that has a descendant on the current label. */
^  ^
   -   /* Enqueue the immediate descendents in the level order queue. */
   +   /* Enqueue the immediate descendants in the level order queue. */
^  ^
  -   /* Update the delta table for the descendents of this node. */
  +   /* Update the delta table for the descendants of this node. */
^  ^
   -   fail and its descendents should be no larger than the
   +   fail and its descendants should be no larger than the
^  ^
nt maxshift;   /* Max shift of self and descendents. */
nt maxshift;   /* Max shift of self and descendants. */
^  ^
ion for parse_bracket_exp used in _LIBC environement.
ion for parse_bracket_exp used in _LIBC environment.
^ ^
ion for parse_bracket_exp used in _LIBC environement.
ion for parse_bracket_exp used in _LIBC environment.
^ ^
ion for parse_bracket_exp used in _LIBC environement.
ion for parse_bracket_exp used in _LIBC environment.
^ ^
-   that it was told to add everthing ('a') when up-arrow was 
pressed by
+   that it was told to add everything ('a') when up-arrow was 
pressed by
^   ^
-([PATCH] Sync in core time granuality with filesystems,
+([PATCH] Sync in core time granularity with filesystems,
^  ^
  like we warn when more than one refs/ hierachies share the same
  like we warn when more than one refs/ hierarchies share the same
^^
- * The replacement implemention for snprintf used on 
platforms with
+ * The replacement implementation for snprintf used on 
platforms with
^^
   -* `X` is an indpendent root commit that added a new 
file `side`, and `Y`
   +* `X` is an independent root commit that added a 
new file `side`, and `Y`
^  ^
it with GCC 2.95.  While they were well intentioned
it with GCC 2.95.  While they were well intended
^^
  - 

Re: [PATCH] Random typofixes.

2013-07-22 Thread Junio C Hamano
Ondřej Bílka nel...@seznam.cz writes:

 Hi, this is refactored version of my previous typofix patch. I avoid
 here controversional fixes.
 I am writing a https://github.com/neleai/stylepp tool to handle
 various style issues.

 To simplify review I wrote a utility:

 stylepp_strip_diff

 That takes a patch file, strips surrounding lines and prints intervals
 that were changes.

 Its output is below and patch follows:
 ...

Next time please omit all of the above.  We can test-apply and then
run diff --word-diff to get a comparison that is much easier to
read.

 diff --git a/Documentation/RelNotes/1.8.2.txt 
 b/Documentation/RelNotes/1.8.2.txt
 index fc606ae..5da2a9d 100644
 --- a/Documentation/RelNotes/1.8.2.txt
 +++ b/Documentation/RelNotes/1.8.2.txt
 @@ -67,7 +67,7 @@ UI, Workflows  Features
   * The completion script (in contrib/completion) used to let the
 default completer to suggest pathnames, which gave too many
 irrelevant choices (e.g. git add would not want to add an
 -   unmodified path).  It learnt to use a more git-aware logic to
 +   unmodified path).  It learned to use a more git-aware logic to

I'd leave the original as-is (cf. http://bit.ly/1bH8OlT).

 diff --git a/Documentation/howto/revert-branch-rebase.txt 
 b/Documentation/howto/revert-branch-rebase.txt
 index 84dd839..29a7cfa 100644
 --- a/Documentation/howto/revert-branch-rebase.txt
 +++ b/Documentation/howto/revert-branch-rebase.txt
 @@ -12,7 +12,7 @@ How to revert an existing commit
  
  
  One of the changes I pulled into the 'master' branch turns out to
 -break building Git with GCC 2.95.  While they were well intentioned
 +break building Git with GCC 2.95.  While they were well intended

Likewise (cf. http://bit.ly/12HZx4x), but it needs a hyphen between
these two words, which I'll add before applying the patch.

 diff --git a/Documentation/technical/racy-git.txt 
 b/Documentation/technical/racy-git.txt
 index f716d6d..242a044 100644
 --- a/Documentation/technical/racy-git.txt
 +++ b/Documentation/technical/racy-git.txt
 @@ -46,7 +46,7 @@ because in-core timestamps can have finer granularity than
  on-disk timestamps, resulting in meaningless changes when an
  inode is evicted from the inode cache.  See commit 8ce13b0
  of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
 -([PATCH] Sync in core time granuality with filesystems,
 +([PATCH] Sync in core time granularity with filesystems,
  2005-01-04).

This is dubious, as it is referring to what is already cast in
stone, but I'll apply the update as-is, with the rest of the patch.

Thanks.  It really shows we cannot spell X-.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html