From: René Scharfe Date: Sat, 7 Mar 2009 12:32:32 +0000 (+0100) Subject: grep: color patterns in output X-Git-Tag: v1.6.3-rc0~144^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7e8f59d577e5615ceff06da0d9dde36a63608d53?hp=7e8f59d577e5615ceff06da0d9dde36a63608d53 grep: color patterns in output Coloring matches makes them easier to spot in the output. Add two options and two parameters: color.grep (to turn coloring on or off), color.grep.match (to set the color of matches), --color and --no-color (to turn coloring on or off, respectively). The output of external greps is not changed. This patch is based on earlier ones by Nguyễn Thái Ngọc Duy and Thiago Alves. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano ---