]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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

1  2 
builtin/grep.c
t/t7810-grep.sh

diff --cc builtin/grep.c
Simple merge
diff --cc t/t7810-grep.sh
Simple merge