From 8d7721cff71fada2f70a21f85a164364e04c517c Mon Sep 17 00:00:00 2001 From: Maqsood Ahmad Date: Mon, 7 Oct 2024 18:15:01 +0530 Subject: [PATCH] (CAT-2053) add testrepo.git to safe.directory --- spec/acceptance/files/create_git_repo.sh | 1 + 1 file changed, 1 insertion(+) 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