diff options
author | Taylor Blau <me@ttaylorr.com> | 2018-06-22 10:49:49 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-22 12:59:02 -0700 |
commit | 6653fec3bb969d8be3987cf77654c0aa1778b6b5 (patch) | |
tree | 81d9b314ea5afdb2b02086b8df7fc35d584508f0 /Documentation/git-grep.txt | |
parent | builtin/grep.c: add '--column' option to 'git-grep(1)' (diff) | |
download | tgif-6653fec3bb969d8be3987cf77654c0aa1778b6b5.tar.xz |
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.txt | 3 |
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`, |