No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
esac
}
+t-expect-fsck-fail () {
+ expect_fsck_fail+=" $1"
+}
+
t-git-fsck () {
git fsck --no-dangling --strict || ${expect_fsck_fail:+true} false
}
mustfail 'multiple headers '$h' in signed tag object' $push_spec
- expect_fsck_fail+=" $badtag"
+ t-expect-fsck-fail $badtag
done
done
perl -pe 's/^committer.*\n//' | \
git hash-object -w -t commit --stdin
)
-expect_fsck_fail+=" $badcommit"
+t-expect-fsck-fail $badcommit
git checkout -b broken $badcommit
prep unstable sid
mktag