X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=553da6cbb1777a94cb3d6b48dc77c445e18ca2b0;hb=30aa4fb15fa408596dea59cdc9f00c94eeaa69f1;hp=1b646b73f069e72bc6faa3a058d61ace77c9934c;hpb=afce435000030e3ad076ef1dd413e0fa314cdcbb;p=git.git diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 1b646b73f..553da6cbb 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -9,12 +9,13 @@ git-grep - Print lines matching a pattern SYNOPSIS -------- [verse] -'git-grep' [--cached] +'git grep' [--cached] [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp] [-v | --invert-match] [-h|-H] [--full-name] [-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings] [-n] [-l | --files-with-matches] [-L | --files-without-match] + [-z | --null] [-c | --count] [--all-match] [-A ] [-B ] [-C ] [-f ] [-e] @@ -91,9 +92,14 @@ OPTIONS --files-without-match:: Instead of showing every matched line, show only the names of files that contain (or do not contain) matches. - For better compatibility with git-diff, --name-only is a + For better compatibility with 'git-diff', --name-only is a synonym for --files-with-matches. +-z:: +--null:: + Output \0 instead of the character that normally follows a + file name. + -c:: --count:: Instead of showing every matched line, show the number of