Code

git log/diff: add -G<regexp> that greps in the patch text
[git.git] / Documentation / diff-options.txt
index 4656a97e6012796f182a725e14c13dc03f71bba2..f77a0f874937eb8e530d685fce2ee38e5e5f14a9 100644 (file)
@@ -284,8 +284,12 @@ ifndef::git-format-patch[]
        appearing in diff output; see the 'pickaxe' entry in
        linkgit:gitdiffcore[7] for more details.
 
+-G<regex>::
+       Look for differences whose added or removed line matches
+       the given <regex>.
+
 --pickaxe-all::
-       When `-S` finds a change, show all the changes in that
+       When `-S` or `-G` finds a change, show all the changes in that
        changeset, not just the files that contain the change
        in <string>.