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 | Merge git://ozlabs.org/~paulus/gitk (diff) | |
| parent | grep: add color.grep.matchcontext and color.grep.matchselected (diff) | |
| download | git-bf1f639ea2cb54f5dee2f1fe3435d0072ede9abb.tar.gz git-bf1f639ea2cb54f5dee2f1fe3435d0072ede9abb.zip | |
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 8212897cf1..7a3294d947 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`;; |
