]> rtime.felk.cvut.cz Git - git.git/commitdiff
Merge branch 'sk/spawn-less-case-insensitively-from-grep-O-i' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:47:49 +0000 (11:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:47:49 +0000 (11:47 -0700)
"git grep -O" to show the lines that hit in the pager did not work
well with case insensitive search.  We now spawn "less" with its
"-I" option when it is used as the pager (which is the default).

* sk/spawn-less-case-insensitively-from-grep-O-i:
  git grep -O -i: if the pager is 'less', pass the '-I' option

1  2 
builtin/grep.c

diff --cc builtin/grep.c
Simple merge