push tests: remove redundant 'git push' invocation
Remove an invocation of 'git push' that's exactly the same as the one on the preceding line. This was seemingly added by mistake in dbfeddb12e ("push: require force for refs under refs/tags/", 2012-11-29) and doesn't affect the result of the test, the second "push" was a no-op as there was nothing new to push. 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
76bcde5956c9094189a2a18b82574ed940e804dd
1 file changed
-1
t/t5516-fetch-push.sh
-1
@@ -973,7 +973,6 @@ test_expect_success 'push requires --force to update lightweight tag' '
973
cd child1 &&
974
git tag testTag &&
975
git push ../child2 testTag &&
976
- git push ../child2 testTag &&
976
>file1 &&
977
git add file1 &&
978
git commit -m "file1" &&