summaryrefslogtreecommitdiffstats
path: root/gitdiffcore.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
commit6546a509a43eda541b7749ee45837d7a74ba7339 (patch)
treea4753bbbeb6fa8a064cbcf570aadb5d4354a1ceb /gitdiffcore.txt
parentc2015e3db30c76ee24b99a14d244f62f1467f581 (diff)
downloadgit-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'gitdiffcore.txt')
-rw-r--r--gitdiffcore.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitdiffcore.txt b/gitdiffcore.txt
index 3cda2e07c..642c51227 100644
--- a/gitdiffcore.txt
+++ b/gitdiffcore.txt
@@ -245,20 +245,20 @@ diffcore-pickaxe: For Detecting Addition/Deletion of Specified String
This transformation limits the set of filepairs to those that change
specified strings between the preimage and the postimage in a certain
-way. -S<block of text> and -G<regular expression> options are used to
+way. -S<block-of-text> and -G<regular-expression> options are used to
specify different ways these strings are sought.
-"-S<block of text>" detects filepairs whose preimage and postimage
+"-S<block-of-text>" detects filepairs whose preimage and postimage
have different number of occurrences of the specified block of text.
By definition, it will not detect in-file moves. Also, when a
changeset moves a file wholesale without affecting the interesting
string, diffcore-rename kicks in as usual, and `-S` omits the filepair
(since the number of occurrences of that string didn't change in that
rename-detected filepair). When used with `--pickaxe-regex`, treat
-the <block of text> as an extended POSIX regular expression to match,
+the <block-of-text> as an extended POSIX regular expression to match,
instead of a literal string.
-"-G<regular expression>" (mnemonic: grep) detects filepairs whose
+"-G<regular-expression>" (mnemonic: grep) detects filepairs whose
textual diff has an added or a deleted line that matches the given
regular expression. This means that it will detect in-file (or what
rename-detection considers the same file) moves, which is noise. The