[PATCH v4 04/10] diff: short help: Add -G and --pickaxe-grep
-G and --pickaxe-grep seems to be on par with -S and --pickaxe-all that
are already mentioned.
---
diff.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/diff.h b/diff.h
index 49ece3..787bb 100644
--- a/diff.h
+++ b/diff.h
@@ -606,9 +606,12 @@ void diffcore_fix_diff_index(void);
" try unchanged files as candidate for copy detection.\n" \
" -l<n> limit rename attempts up to <n> paths.\n" \
" -O<file> reorder diffs according to the <file>.\n" \
+" -G<regex> find differences where patch contains the specified regex.\n" \
" -S<string> find filepair who differ in the number of occurrences of string.\n" \
+" --pickaxe-grep\n" \
+" treat <string> as a regex in the -S argument.\n" \
" --pickaxe-all\n" \
-" show all files diff when -S is used and hit is found.\n" \
+" show all files diff when -G or -S is used and hit is found.\n" \
" -a --text treat all files as text.\n"
int diff_queue_is_empty(struct diff_options *o);
--
2.45.2