Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
tests (push): do not abbreviate the `--follow-tags` option
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Mon, 25 Mar 2019 18:14:21 +0000
(11:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 2 Apr 2019 00:55:00 +0000
(09:55 +0900)
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>
t/t5516-fetch-push.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ae0a11c
)
diff --git
a/t/t5516-fetch-push.sh
b/t/t5516-fetch-push.sh
index 37e8e80893dad130c5c00882796047417aae115b..db0b1db45809654abc3a73e0bed0a94d65609937 100755
(executable)
--- 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-tag
s
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-tag
s
../dst master
) &&
(
cd dst &&