Skip to content

Commit f6188dc

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ae0a11c commit f6188dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t5516-fetch-push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ test_expect_success 'push does not follow tags by default' '
13701370
test_cmp expect actual
13711371
'
13721372

1373-
test_expect_success 'push --follow-tag only pushes relevant tags' '
1373+
test_expect_success 'push --follow-tags only pushes relevant tags' '
13741374
mk_test testrepo heads/master &&
13751375
rm -fr src dst &&
13761376
git init src &&
@@ -1384,7 +1384,7 @@ test_expect_success 'push --follow-tag only pushes relevant tags' '
13841384
git tag -m "future" future &&
13851385
git checkout master &&
13861386
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
13881388
) &&
13891389
(
13901390
cd dst &&

0 commit comments

Comments
 (0)