X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fannotate-tests.sh;h=396b9653a3ad80490cf360c86a910edff58862a2;hb=5f8b2cbacd3bad38d0ae4d358fe9b34e98190935;hp=cacb273afff1fbddf152bb440451fa141589cf33;hpb=834caf9a7b0850d5647426bcb7c4dae04d85a922;p=git.git diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh index cacb273af..396b9653a 100644 --- a/t/annotate-tests.sh +++ b/t/annotate-tests.sh @@ -114,7 +114,10 @@ test_expect_success \ test_expect_success \ 'some edit' \ 'mv file file.orig && - sed -e "s/^3A/99/" -e "/^1A/d" -e "/^incomplete/d" < file.orig > file && + { + cat file.orig && + echo + } | sed -e "s/^3A/99/" -e "/^1A/d" -e "/^incomplete/d" > file && echo "incomplete" | tr -d "\\012" >>file && GIT_AUTHOR_NAME="D" git commit -a -m "edit"'