Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-bzr: simplify test checks
[gitweb.git]
/
t
/
t5517-push-mirror.sh
diff --git
a/t/t5517-push-mirror.sh
b/t/t5517-push-mirror.sh
index ea49dedbf8867694d83cd550c8212ff107361920..12a5dfb17e0a0bd4d0d9636ff13bf44999f78e36 100755
(executable)
--- a/
t/t5517-push-mirror.sh
+++ b/
t/t5517-push-mirror.sh
@@
-19,7
+19,8
@@
mk_repo_pair () {
mkdir mirror &&
(
cd mirror &&
- git init
+ git init &&
+ git config receive.denyCurrentBranch warn
) &&
mkdir master &&
(
@@
-255,7
+256,7
@@
test_expect_success 'remote.foo.mirror=no has no effect' '
git branch keep master &&
git push --mirror up &&
git branch -D keep &&
- git push up
+ git push up
:
) &&
(
cd mirror &&