]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/diff-exit-code-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:43 +0000 (15:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:43 +0000 (15:27 -0700)
In a few corner cases "git diff --exit-code" failed to report
"changes" (e.g., renamed without any content change), which has
been corrected.

* rs/diff-exit-code-fix:
  diff: report dirty submodules as changes in builtin_diff()
  diff: report copies and renames as changes in run_diff_cmd()

1  2 
diff.c

diff --cc diff.c
Simple merge