Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t/t5528-push-default: remove redundant test_config lines
author
Ramkumar Ramachandra
<artagnon@gmail.com>
Wed, 19 Jun 2013 11:11:39 +0000
(16:41 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 20 Jun 2013 02:11:34 +0000
(19:11 -0700)
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>
t/t5528-push-default.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
fb7dfaa
)
diff --git
a/t/t5528-push-default.sh
b/t/t5528-push-default.sh
index 4736da8f36fd4e69fea0008829f4304020ea338d..69ce6bfda817bbf6bcb7e129e0ff62424bd1ceca 100755
(executable)
--- 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_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
'
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 &&
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
'
test_commit four &&
test_push_failure upstream
'