summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-03-25 18:14:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-02 00:55:00 (GMT)
commitf6188dccb7795ba7c374274264b70e5a4a2a2f5f (patch)
treebd7b2728bd71043bdbebcb059393ae389e47a66b /t/t5516-fetch-push.sh
parentae0a11c20dd75f5955a25903020340096739b294 (diff)
downloadgit-f6188dccb7795ba7c374274264b70e5a4a2a2f5f.zip
git-f6188dccb7795ba7c374274264b70e5a4a2a2f5f.tar.gz
git-f6188dccb7795ba7c374274264b70e5a4a2a2f5f.tar.bz2
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>
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 37e8e80..db0b1db 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 &&