aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-grep.txt
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2018-06-22 10:49:49 -0500
committerJunio C Hamano <gitster@pobox.com>2018-06-22 12:59:02 -0700
commit6653fec3bb969d8be3987cf77654c0aa1778b6b5 (patch)
tree81d9b314ea5afdb2b02086b8df7fc35d584508f0 /Documentation/git-grep.txt
parenta449f27ffa08de1b01ab5e4fe7daac38f25c9515 (diff)
downloadgit-6653fec3bb969d8be3987cf77654c0aa1778b6b5.tar.gz
grep.c: add configuration variables to show matched option
To support git-grep(1)'s new option, '--column', document and teach grep.c how to interpret relevant configuration options, similar to those associated with '--line-number'. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-grep.txt')
-rw-r--r--Documentation/git-grep.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index 31dc0392a6..0de3493b80 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -44,6 +44,9 @@ CONFIGURATION
grep.lineNumber::
If set to true, enable `-n` option by default.
+grep.column::
+ If set to true, enable the `--column` option by default.
+
grep.patternType::
Set the default matching behavior. Using a value of 'basic', 'extended',
'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,