mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
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:
@@ -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
|
||||
'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user