Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-10-09 21:18:59 +0400
committerShawn O. Pearce <spearce@spearce.org>2008-10-09 21:18:59 +0400
commit86193807cf196ee87e464ed3c4025597de597d56 (patch)
tree5cd6ae3add280d9bcc6166cbe04bd6bad199f3af /Documentation
parente4fff5ce65b80fed050be7c761466e16105a32c5 (diff)
parent83caecca2f0805d440099d19011fdedc2b3467a5 (diff)
Merge branch 'rz/grepz'
* rz/grepz: git grep: Add "-z/--null" option as in GNU's grep.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-grep.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index fa4d133c1b..553da6cbb1 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -15,6 +15,7 @@ SYNOPSIS
[-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 <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern>
@@ -94,6 +95,11 @@ OPTIONS
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