X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4038-diff-combined.sh;h=40277c77aad5f2d9533e6822da3380bb49621e59;hb=767cf4579f0e34a3cfc6704d5c313842321dfafa;hp=7584efa36b06effd9005b8ebcc6afecec07e424b;hpb=3b37d9c17efd199a237435f7d8573008f6aa68c1;p=git.git diff --git a/t/t4038-diff-combined.sh b/t/t4038-diff-combined.sh index 7584efa36..40277c77a 100755 --- a/t/t4038-diff-combined.sh +++ b/t/t4038-diff-combined.sh @@ -81,4 +81,12 @@ test_expect_success 'check combined output (2)' ' verify_helper sidesansone ' +test_expect_success 'diagnose truncated file' ' + >file && + git add file && + git commit --amend -C HEAD && + git show >out && + grep "diff --cc file" out +' + test_done