]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9003-help-autocorrect.sh
Merge branch 'jc/diff-exit-code-with-w-fixes'
authorJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 20:50:41 +0000 (13:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 20:50:41 +0000 (13:50 -0700)
commit74a2e88700efc2f1874967e7f007723d0865ac1b
tree15c9d7fe1ef18dd33d0f0a48a3767c8a3b23d8b9
parent5ba560ba760a945239c9f526307e6402f7032299
parenta64f8b25953b9cf0f6d81ed24e87448ae513b094
Merge branch 'jc/diff-exit-code-with-w-fixes'

"git diff -w --exit-code" with various options did not work
correctly, which is being addressed.

* jc/diff-exit-code-with-w-fixes:
  diff: the -w option breaks --exit-code for --raw and other output modes
  t4040: remove test that succeeded for a wrong reason
  diff: teach "--stat -w --exit-code" to notice differences
  diff: mode-only change should be noticed by "--patch -w --exit-code"
  diff: move the fallback "--exit-code" code down
diff.c
t/t4015-diff-whitespace.sh