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:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-06-19 15:11:39 +0400
committerJunio C Hamano <gitster@pobox.com>2013-06-20 06:11:34 +0400
commit3cb8a5ff1756f11fe60b9c6ed3f9fe593e9c6d62 (patch)
tree68e2649b81d07c3c83585542945ad5d583ddb88b /t/t5528-push-default.sh
parentfb7dfaa710da6f9ebb854f70ffc1c78668a1e70c (diff)
t/t5528-push-default: remove redundant test_config lines
The line test_config push.default upstream appears unnecessarily in two tests, as the final test_push_failure sets push.default before pushing anyway. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5528-push-default.sh')
-rwxr-xr-xt/t5528-push-default.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t5528-push-default.sh b/t/t5528-push-default.sh
index 4736da8f36..69ce6bfda8 100755
--- a/t/t5528-push-default.sh
+++ b/t/t5528-push-default.sh
@@ -48,7 +48,6 @@ test_expect_success '"upstream" pushes to configured upstream' '
test_expect_success '"upstream" does not push on unconfigured remote' '
git checkout master &&
test_unconfig branch.master.remote &&
- test_config push.default upstream &&
test_commit three &&
test_push_failure upstream
'
@@ -57,7 +56,6 @@ test_expect_success '"upstream" does not push on unconfigured branch' '
git checkout master &&
test_config branch.master.remote parent1 &&
test_unconfig branch.master.merge &&
- test_config push.default upstream
test_commit four &&
test_push_failure upstream
'