diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 87ee01662..49821eb46 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -9,9 +9,9 @@ test_expect_success setup ' rm -fr .git && test_create_repo src && ( - cd src - >file - git add file + cd src && + >file && + git add file && git commit -m initial )