diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-31 11:49:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-31 11:49:47 -0700 |
commit | bf1f639ea2cb54f5dee2f1fe3435d0072ede9abb (patch) | |
tree | b507e0cf182b820ee5888e5e58a61130960aaa31 /Documentation | |
parent | 81d645d1a10104f23c7d3e90eb24fdb672e9694c (diff) | |
parent | 79a77109d3d0d364910ff7fa8c605c554dc4c3e0 (diff) | |
download | git-bf1f639ea2cb54f5dee2f1fe3435d0072ede9abb.tar.gz git-bf1f639ea2cb54f5dee2f1fe3435d0072ede9abb.tar.xz |
Merge branch 'rs/grep-color-words'
Allow painting or not painting (partial) matches in context lines
when showing "grep -C<num>" output in color.
* rs/grep-color-words:
grep: add color.grep.matchcontext and color.grep.matchselected
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 8212897cf..7a3294d94 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -885,7 +885,11 @@ color.grep.<slot>:: `linenumber`;; line number prefix (when using `-n`) `match`;; - matching text + matching text (same as setting `matchContext` and `matchSelected`) +`matchContext`;; + matching text in context lines +`matchSelected`;; + matching text in selected lines `selected`;; non-matching text in selected lines `separator`;; |