Merge branch 'rs/grep-no-recursive'
commit9822b8f10d2c255c3bda81aa800fa056549f034a
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 04:34:05 +0000 (19 13:34 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 04:34:06 +0000 (19 13:34 +0900)
tree85959ab31de49c7360745b67f14694a9a97ed2fd
parent54e564e1d626fbcfb5eabddaccc9daf0aae6a9be
parent0a09e5edc281941b77dbf7aa3436781250d16088
Merge branch 'rs/grep-no-recursive'

Unlike "grep", "git grep" by default recurses to the whole tree.
The command learned "git grep --recursive" option, so that "git
grep --no-recursive" can serve as a synonym to setting the
max-depth to 0.

* rs/grep-no-recursive:
  grep: add -r/--[no-]recursive
builtin/grep.c