t/annotate-tests.sh: avoid passing a non-newline terminated file to sed
authorBrandon Casey <casey@nrlssc.navy.mil>
Wed, 6 May 2009 18:29:16 +0000 (13:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2009 18:50:44 +0000 (11:50 -0700)
Some versions of sed exit non-zero if the file they are supplied is not
newline terminated. Solaris's /usr/xpg4/bin/sed is one such sed. So
rework this test to avoid doing so.

This affects tests t8001-annotate.sh and t8002-blame.sh.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found