1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-23 21:56:10 +02:00

tests (push): do not abbreviate the `--follow-tags` option

We really want to spell out the option in the full form, to avoid any
ambiguity that might be introduced by future patches.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Johannes Schindelin 2019-03-25 11:14:21 -07:00 committed by Junio C Hamano
parent ae0a11c20d
commit f6188dccb7

View File

@ -1370,7 +1370,7 @@ test_expect_success 'push does not follow tags by default' '
test_cmp expect actual
'
test_expect_success 'push --follow-tag only pushes relevant tags' '
test_expect_success 'push --follow-tags only pushes relevant tags' '
mk_test testrepo heads/master &&
rm -fr src dst &&
git init src &&
@ -1384,7 +1384,7 @@ test_expect_success 'push --follow-tag only pushes relevant tags' '
git tag -m "future" future &&
git checkout master &&
git for-each-ref refs/heads/master refs/tags/tag >../expect &&
git push --follow-tag ../dst master
git push --follow-tags ../dst master
) &&
(
cd dst &&