From 6653fec3bb969d8be3987cf77654c0aa1778b6b5 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Fri, 22 Jun 2018 10:49:49 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- Documentation/git-grep.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation/git-grep.txt') 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`, -- cgit v1.2.3