From 9861cd04b654a486e15f68a3986ac8c567fc6b18 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 6 Jun 2022 17:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/cloudbrain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index e5a61b9a7..b8fe3f119 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -1182,7 +1182,7 @@ func downloadCode(repo *models.Repository, codePath, branchName string) error { log.Error("Failed to clone repository: %s (%v)", repo.FullName(), err) return err } - + log.Info("srcPath=" + CLONE_FILE_PREFIX + repo.RepoPath() + " codePath=" + codePath) configFile, err := os.OpenFile(codePath+"/.git/config", os.O_RDWR, 0666) if err != nil { log.Error("open file(%s) failed:%v", codePath+"/,git/config", err)