author | Mark Lodato <lodatom@gmail.com> | |
Sun, 7 Mar 2010 16:52:47 +0000 (11:52 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Mar 2010 08:30:59 +0000 (00:30 -0800) | ||
commit | 00588bb5cd4a7ff5e2b1ded97d4459bfe6aad6eb | |
tree | f3f638046ed38c6e0ad5ebc6f48a8e7973fc9e9d | tree | snapshot |
parent | 55f638bdc6507b3a2ce03290741f592934afaee7 | commit | diff |
grep: Colorize selected, context, and function lines
Colorize non-matching text of selected lines, context lines, and
function name lines. The default for all three is no color, but they
can be configured using color.grep.<slot>. The first two are similar
to the corresponding options in GNU grep, except that GNU grep applies
the color to the entire line, not just non-matching text.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Colorize non-matching text of selected lines, context lines, and
function name lines. The default for all three is no color, but they
can be configured using color.grep.<slot>. The first two are similar
to the corresponding options in GNU grep, except that GNU grep applies
the color to the entire line, not just non-matching text.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
builtin-grep.c | diff | blob | history | |
grep.c | diff | blob | history | |
grep.h | diff | blob | history |