From: Johannes Schindelin Date: Mon, 25 Mar 2019 18:14:21 +0000 (-0700) Subject: tests (push): do not abbreviate the `--follow-tags` option X-Git-Tag: v2.22.0-rc0~79^2~3 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=f6188dccb7795ba7c374274264b70e5a4a2a2f5f;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index 37e8e80893..db0b1db458 100755 --- a/t/t5516-fetch-push.sh +++ b/t/t5516-fetch-push.sh @@ -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 &&