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:
authorJunio C Hamano <gitster@pobox.com>2021-11-01 23:48:08 +0300
committerJunio C Hamano <gitster@pobox.com>2021-11-01 23:48:08 +0300
commitb93d7206919e9eac22b3ca0291bce8da65960595 (patch)
tree1fb405da58548ea2246aa833630706a9ab9bf928 /Documentation/config/color.txt
parent7e27bd589d328b9daf154c2444d1a86ec3afedb0 (diff)
parentae39ba431ab861548eb60b4bd2e1d8b8813db76f (diff)
Merge branch 'hm/paint-hits-in-log-grep'
"git log --grep=string --author=name" learns to highlight hits just like "git grep string" does. * hm/paint-hits-in-log-grep: grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data pretty: colorize pattern matches in commit messages grep: refactor next_match() and match_one_pattern() for external use
Diffstat (limited to 'Documentation/config/color.txt')
-rw-r--r--Documentation/config/color.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/config/color.txt b/Documentation/config/color.txt
index 6e817f6047..1795b2d16b 100644
--- a/Documentation/config/color.txt
+++ b/Documentation/config/color.txt
@@ -105,9 +105,12 @@ color.grep.<slot>::
`matchContext`;;
matching text in context lines
`matchSelected`;;
- matching text in selected lines
+ matching text in selected lines. Also, used to customize the following
+ linkgit:git-log[1] subcommands: `--grep`, `--author` and `--committer`.
`selected`;;
- non-matching text in selected lines
+ non-matching text in selected lines. Also, used to customize the
+ following linkgit:git-log[1] subcommands: `--grep`, `--author` and
+ `--committer`.
`separator`;;
separators between fields on a line (`:`, `-`, and `=`)
and between hunks (`--`)