From: Junio C Hamano Date: Fri, 1 Sep 2023 18:26:28 +0000 (-0700) Subject: Merge branch 'jk/diff-result-code-cleanup' X-Git-Tag: v2.43.0-rc0~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f137bd4358bba70cede3e3198cbd50fd656b70a9;p=thirdparty%2Fgit.git Merge branch 'jk/diff-result-code-cleanup' "git diff --no-such-option" and other corner cases around the exit status of the "diff" command has been corrected. * jk/diff-result-code-cleanup: diff: drop useless "status" parameter from diff_result_code() diff: drop useless return values in git-diff helpers diff: drop useless return from run_diff_{files,index} functions diff: die when failing to read index in git-diff builtin diff: show usage for unknown builtin_diff_files() options diff-files: avoid negative exit value diff: spell DIFF_INDEX_CACHED out when calling run_diff_index() --- f137bd4358bba70cede3e3198cbd50fd656b70a9