This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new b9a4d14d1b Looser repository ownership checks (#7546)
b9a4d14d1b is described below

commit b9a4d14d1b294b6a328ac300ee32745203b03de7
Author: TerekhovaKate <[email protected]>
AuthorDate: Wed May 31 13:56:06 2023 -0600

    Looser repository ownership checks (#7546)
    
    * builder images add safe dir
    
    * add safe dir
    
    * add safe directory global
    
    * add the directory in question
    
    ---------
    
    Co-authored-by: eterek111 <[email protected]>
---
 build/clean_build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build/clean_build.sh b/build/clean_build.sh
index 4e531a8dee..ded9869a63 100755
--- a/build/clean_build.sh
+++ b/build/clean_build.sh
@@ -62,6 +62,8 @@ fi
 
 cd "$tc_dir"
 if [ -d "${tc_volume}/.git" ]; then
+       # Add the directory in question to git's safe.directory list.
+       git config --global --add safe.directory '*'
        # In case the mirrored repo already exists, remove gitignored files
        git clean -fdX
 fi

Reply via email to