This is very like a commit generated by #849041. The wrongness is the
same. The difference is that it's not in a dgit-generated merge, but
the fixup script doesn't care about that.
The existing test case which uses this (drs-push-rejects) still sees
badness and is therefore still happy.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
t-make-badcommit () {
badcommit=$(
git cat-file commit HEAD | \
- perl -pe 's/^committer.*\n//' | \
+ perl -pe 's/^committer /commiter /' | \
git hash-object -w -t commit --stdin
)
t-expect-fsck-fail $badcommit