]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/grep-f-relative-to-cwd'
authorJunio C Hamano <gitster@pobox.com>
Tue, 7 Nov 2023 01:26:43 +0000 (10:26 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Nov 2023 01:26:43 +0000 (10:26 +0900)
commit2d2cd0a1bc9ebe9b8df6d7686ad9264b2d7f0f5e
tree697b319fa4bea6b47562eff2db38abed71522376
parente6bb35d996072ce042700e1fe807a0d04e16f2f8
parent5b2424b658701c16e4fe12babf83fdb15d0f165a
Merge branch 'jc/grep-f-relative-to-cwd'

"cd sub && git grep -f patterns" tried to read "patterns" file at
the top level of the working tree; it has been corrected to read
"sub/patterns" instead.

* jc/grep-f-relative-to-cwd:
  grep: -f <path> is relative to $cwd
builtin/grep.c
t/t7810-grep.sh