6 tmp=.git/dgit-badcommit-fixup-tmp
10 LC_MESSAGES=C git fsck --no-dangling 2>&1 | \
11 perl -ne 'print $1 if m/^error in commit d1a977e7f9637372750ac02a58e85c35ddd4ca54:.*invalid format - expected '\''committer' | \
14 case `wc -l <$tmp/bad` in
16 echo >&2 'nothing bad found - is git-fsck doing as we expect?' ;
20 nots="^$onlybad^0 ^$onlybad^1"
29 for head in `git-show-ref --heads`; do
33 if git merge-base --is-ancestor $bad $head; then
38 if ! $needed; then continue; fi