]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/config.txt
grep: color patterns in output
[thirdparty/git.git] / Documentation / config.txt
index f5152c5038b49ab5ebe3804e8e9b314d4a752690..b75dada9c3d150a05d0353bc0d78eba426f459e3 100644 (file)
@@ -548,6 +548,15 @@ color.diff.<slot>::
        whitespace errors). The values of these variables may be specified as
        in color.branch.<slot>.
 
+color.grep::
+       When set to `always`, always highlight matches.  When `false` (or
+       `never`), never.  When set to `true` or `auto`, use color only
+       when the output is written to the terminal.  Defaults to `false`.
+
+color.grep.match::
+       Use customized color for matches.  The value of this variable
+       may be specified as in color.branch.<slot>.
+
 color.interactive::
        When set to `always`, always use colors for interactive prompts
        and displays (such as those used by "git-add --interactive").