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.
This commit is contained in:
Johannes Sixt
2007-07-21 23:21:54 +02:00
parent 631f6e6249
commit f5f46bfe24

View File

@@ -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
'