]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/diff-I-status-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Dec 2020 23:15:18 +0000 (15:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Dec 2020 23:15:18 +0000 (15:15 -0800)
"git diff -I<pattern> -exit-code" should exit with 0 status when
all the changes match the ignored pattern, but it didn't.

* jc/diff-I-status-fix:
  diff: correct interaction between --exit-code and -I<pattern>

1  2 
diff.c
t/t4015-diff-whitespace.sh

diff --cc diff.c
Simple merge
Simple merge