Ramkumar Ramachandra <artag...@gmail.com> writes: > -S<string>:: > - Look for differences that introduce or remove an instance of > - <string>. Note that this is different than the string simply > - appearing in diff output; see the 'pickaxe' entry in > - linkgit:gitdiffcore for more details. > + Look for commits where the specified string was added or > + removed. More precisely, find commits that change the number > + of occurrences of the specified string.
Any time you say "This means that", "More precisely", etc. please check if you can rewrite it to lose everything before them (i.e. a vague sentence that needs to be clarified may not have to be there at all). > ++ > +It is often useful when you're looking for an exact string (like a > +function prototype), and want to know the history of that string since > +it first came into being. I think you should remind that the most useful case (and indeed the intended one) is for "an exact string" to be a multi-line "block of text". People often get a (wrong) impression from the word "string" that it is meant to be used with a single-liner. -- 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