From f5f46bfe24411ce8b4955df4cc5b2e0d78f0a0c5 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sat, 21 Jul 2007 23:21:54 +0200 Subject: [PATCH] Work around a CR being written by git-tag if it is redirected to a file. Where the heck does this come from? A useless use of cat helps. --- t/t7004-tag.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index 17de2a90e6..99b417ada5 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -108,9 +108,9 @@ mytag EOF test_expect_success \ 'trying to delete tags without params should succeed and do nothing' ' - git tag -l > actual && git diff expect actual && + git tag -l | cat > actual && git diff expect actual && git-tag -d && - git tag -l > actual && git diff expect actual + git tag -l | cat > actual && git diff expect actual ' test_expect_success \ @@ -164,7 +164,7 @@ test_expect_success 'listing all tags should print them ordered' ' git tag a1 && git tag v1.0 && git tag t210 && - git tag -l > actual && + git tag -l | cat > actual && git diff expect actual '