summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f55ee4)
raw | patch | inline | side by side (parent: 6f55ee4)
author | Jeff King <peff@peff.net> | |
Tue, 3 Mar 2009 15:40:41 +0000 (10:40 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Mar 2009 09:47:40 +0000 (02:47 -0700) |
The existing text was very vague about what exactly it means
for difference to "contain" a change. This seems to cause
confusion on the mailing list every month or two.
To fix it we:
1. use "introduce or remove an instance of" instead of
"contain"
2. point the user to gitdiffcore(7), which contains a more
complete explanation
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
for difference to "contain" a change. This seems to cause
confusion on the mailing list every month or two.
To fix it we:
1. use "introduce or remove an instance of" instead of
"contain"
2. point the user to gitdiffcore(7), which contains a more
complete explanation
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt | patch | blob | history |
index 813a7b11b99d51d3014f854770384ed4fc247c9f..9276faeb11aec2650393c56fe5edf2b571692dbd 100644 (file)
number.
-S<string>::
- Look for differences that contain the change in <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[7] for more details.
--pickaxe-all::
When -S finds a change, show all the changes in that