X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft5701-clone-local.sh;h=8b4c356cd21846025d84a434077bfdc8ee2bab57;hb=6cd52edbbd9acc7797cffeba1b849538285ed558;hp=19b5c0d552fa8b4665b5e396833264e258365b28;hpb=a42332c21723fde9f36b579f6b39a23aa1aac137;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