diff --git a/spec/acceptance/files/create_git_repo.sh b/spec/acceptance/files/create_git_repo.sh index c9f151ed..4dc2ea08 100755 --- a/spec/acceptance/files/create_git_repo.sh +++ b/spec/acceptance/files/create_git_repo.sh @@ -35,6 +35,7 @@ git checkout main cd .. git --git-dir=testrepo/.git config core.bare true +git config --system --add safe.directory $(pwd)/testrepo.git cp -r testrepo/.git testrepo.git rm -rf testrepo cd testrepo.git