fetch tests: change "Tag" test tag to "testTag"
Calling the test tag "Tag" will make for confusing reading later in this series when making use of the "git push tag <name>" feature. Let's call the tag testTag instead. Changes code initially added in dbfeddb12e ("push: require force for refs under refs/tags/", 2012-11-29). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Jul 31, 2018 at 13:07 UTC
54e934e66ddc9d61b3a8b2a6956bd434e6fccfcd
1 file changed
+9
-9
t/t5516-fetch-push.sh
+9
-9
@@ -971,18 +971,18 @@ test_expect_success 'push requires --force to update lightweight tag' '
971
mk_child testrepo child2 &&
972
(
973
cd child1 &&
974
- git tag Tag &&
975
- git push ../child2 Tag &&
976
- git push ../child2 Tag &&
974
+ git tag testTag &&
975
+ git push ../child2 testTag &&
976
+ git push ../child2 testTag &&
977
>file1 &&
978
git add file1 &&
979
git commit -m "file1" &&
980
- git tag -f Tag &&
981
- test_must_fail git push ../child2 Tag &&
982
- git push --force ../child2 Tag &&
983
- git tag -f Tag &&
984
- test_must_fail git push ../child2 Tag HEAD~ &&
985
- git push --force ../child2 Tag
980
+ git tag -f testTag &&
981
+ test_must_fail git push ../child2 testTag &&
982
+ git push --force ../child2 testTag &&
983
+ git tag -f testTag &&
984
+ test_must_fail git push ../child2 testTag HEAD~ &&
985
+ git push --force ../child2 testTag
986
)
987
'
988