From: Illia Bobyr Date: Tue, 11 Feb 2025 08:50:15 GMT Subject: [PATCH v4 03/10] diff: short help: Correct -S description Message-ID: <20250211085028.3923875-4-illia.bobyr@gmail.com> In-Reply-To: <20250206014324.1839232-1-illia.bobyr@gmail.com> `-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. --- diff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff.h b/diff.h index 0a566f..49ece3 100644 --- a/diff.h +++ b/diff.h @@ -606,7 +606,7 @@ void diffcore_fix_diff_index(void); " try unchanged files as candidate for copy detection.\n" \ " -l limit rename attempts up to paths.\n" \ " -O reorder diffs according to the .\n" \ -" -S find filepair whose only one side contains the string.\n" \ +" -S find filepair who differ in the number of occurrences of string.\n" \ " --pickaxe-all\n" \ " show all files diff when -S is used and hit is found.\n" \ " -a --text treat all files as text.\n" -- 2.45.2