Skip to content

Commit 9275772

Browse files
ilya-bobyrgitster
authored andcommitted
diff: short help: Correct -S description
`-S` shows changes that modify the number of occurrences of the specified string, rather than only those that either completely remove it or add it for the first time. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 584a168 commit 9275772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ void diffcore_fix_diff_index(void);
606606
" try unchanged files as candidate for copy detection.\n" \
607607
" -l<n> limit rename attempts up to <n> paths.\n" \
608608
" -O<file> reorder diffs according to the <file>.\n" \
609-
" -S<string> find filepair whose only one side contains the string.\n" \
609+
" -S<string> find filepair who differ in the number of occurrences of string.\n" \
610610
" --pickaxe-all\n" \
611611
" show all files diff when -S is used and hit is found.\n" \
612612
" -a --text treat all files as text.\n"

0 commit comments

Comments
 (0)