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>
Johannes Schindelin committed
Mar 25, 2019 at 11:14 UTC
f6188dccb7795ba7c374274264b70e5a4a2a2f5f
1 file changed
+2
-2
t/t5516-fetch-push.sh
+2
-2
@@ -1370,7 +1370,7 @@ test_expect_success 'push does not follow tags by default' '
1370
test_cmp expect actual
1371
'
1372
1373
-test_expect_success 'push --follow-tag only pushes relevant tags' '
1373
+test_expect_success 'push --follow-tags only pushes relevant tags' '
1374
mk_test testrepo heads/master &&
1375
rm -fr src dst &&
1376
git init src &&
@@ -1384,7 +1384,7 @@ test_expect_success 'push --follow-tag only pushes relevant tags' '
1384
git tag -m "future" future &&
1385
git checkout master &&
1386
git for-each-ref refs/heads/master refs/tags/tag >../expect &&
1387
- git push --follow-tag ../dst master
1387
+ git push --follow-tags ../dst master
1388
) &&
1389
(
1390
cd dst &&