diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh
index 5b8ebd805378dc79e449ec1eecd1e97e333a7902..5b79c51b8c51b3fc62823e1b51f9087fbd7f30e3 100755 (executable)
--- a/t/t1450-fsck.sh
+++ b/t/t1450-fsck.sh
git init &&
echo ../../../.git/objects >.git/objects/info/alternates &&
test_commit C fileC one &&
- git fsck >../out 2>&1
+ git fsck --no-dangling >../actual 2>&1
) &&
- {
- grep -v dangling out >actual ||
- :
- } &&
test_cmp empty actual
'