X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft4038-diff-combined.sh;h=40277c77aad5f2d9533e6822da3380bb49621e59;hb=48c250a121a425a1860226b6a7061aecfbab5246;hp=7584efa36b06effd9005b8ebcc6afecec07e424b;hpb=a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20;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