X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft5701-clone-local.sh;h=8b4c356cd21846025d84a434077bfdc8ee2bab57;hb=5bebcd4ecba0791cecaa49d30ddd7ca8ffe03627;hp=19b5c0d552fa8b4665b5e396833264e258365b28;hpb=7b576f9910a2945688f04f6ff9d03771f2956618;p=git.git diff --git a/t/t5701-clone-local.sh b/t/t5701-clone-local.sh index 19b5c0d55..8b4c356cd 100755 --- a/t/t5701-clone-local.sh +++ b/t/t5701-clone-local.sh @@ -119,7 +119,9 @@ test_expect_success 'bundle clone with nonexistent HEAD' ' test_expect_success 'clone empty repository' ' cd "$D" && mkdir empty && - (cd empty && git init) && + (cd empty && + git init && + git config receive.denyCurrentBranch warn) && git clone empty empty-clone && test_tick && (cd empty-clone