]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pb/do-not-recurse-grep-no-index'
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Feb 2020 20:41:36 +0000 (12:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Feb 2020 20:41:36 +0000 (12:41 -0800)
"git grep --no-index" should not get affected by the contents of
the .gitmodules file but when "--recurse-submodules" is given or
the "submodule.recurse" variable is set, it did.  Now these
settings are ignored in the "--no-index" mode.

* pb/do-not-recurse-grep-no-index:
  grep: ignore --recurse-submodules if --no-index is given


Trivial merge