Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-07-31 16:07:10 +0300
committerJunio C Hamano <gitster@pobox.com>2018-07-31 19:25:25 +0300
commit76bcde5956c9094189a2a18b82574ed940e804dd (patch)
treede3c38192cdb6aa18d228128a6951c03b28dd69d /t/t5516-fetch-push.sh
parent54e934e66ddc9d61b3a8b2a6956bd434e6fccfcd (diff)
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>
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 08b9cf581d..4d487d6875 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -973,7 +973,6 @@ test_expect_success 'push requires --force to update lightweight tag' '
cd child1 &&
git tag testTag &&
git push ../child2 testTag &&
- git push ../child2 testTag &&
>file1 &&
git add file1 &&
git commit -m "file1" &&