♻️ 改用 shared mirror clone 准备 job 工作副本
Ubuntu System Information / show-system-info (push) Successful in 0s

This commit is contained in:
csh
2026-05-22 10:42:06 +08:00
parent 173526be79
commit beab4e5696
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ create_job_workspace_from_mirror() {
rm -rf "${job_workspace}"
mkdir -p "${job_workspace}"
git clone --local "${mirror_path}" "${repo_dir}" >/dev/null
git clone --shared "${mirror_path}" "${repo_dir}" >/dev/null
git -C "${repo_dir}" remote set-url origin "${remote_url}"
}