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