]> granicus.if.org Git - git/commitdiff
fetch tests: change "Tag" test tag to "testTag"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 31 Jul 2018 13:07:09 +0000 (13:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jul 2018 16:25:25 +0000 (09:25 -0700)
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>
t/t5516-fetch-push.sh

index a5077d8b7c596523a3b0e0e5e45385e5d7871b9e..08b9cf581db3ba9f7f48c5524183f8360aaa9198 100755 (executable)
@@ -971,18 +971,18 @@ test_expect_success 'push requires --force to update lightweight tag' '
        mk_child testrepo child2 &&
        (
                cd child1 &&
-               git tag Tag &&
-               git push ../child2 Tag &&
-               git push ../child2 Tag &&
+               git tag testTag &&
+               git push ../child2 testTag &&
+               git push ../child2 testTag &&
                >file1 &&
                git add file1 &&
                git commit -m "file1" &&
-               git tag -f Tag &&
-               test_must_fail git push ../child2 Tag &&
-               git push --force ../child2 Tag &&
-               git tag -f Tag &&
-               test_must_fail git push ../child2 Tag HEAD~ &&
-               git push --force ../child2 Tag
+               git tag -f testTag &&
+               test_must_fail git push ../child2 testTag &&
+               git push --force ../child2 testTag &&
+               git tag -f testTag &&
+               test_must_fail git push ../child2 testTag HEAD~ &&
+               git push --force ../child2 testTag
        )
 '