You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2023/05/31 19:56:12 UTC

[trafficcontrol] branch master updated: Looser repository ownership checks (#7546)

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 <Te...@gmail.com>
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 <ek...@comcast.com>
---
 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