mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-08-08 23:37:11 +00:00
add -q flag for git worktree
This commit is contained in:
@@ -36,7 +36,8 @@ kube::util::ensure-temp-dir
|
||||
WORKTREE="${KUBE_TEMP}/worktree"
|
||||
|
||||
# Create a copy of the repo with $BRANCH checked out
|
||||
git worktree add -f "${WORKTREE}" "${BRANCH}"
|
||||
git worktree add -f -q "${WORKTREE}" "${BRANCH}"
|
||||
|
||||
# Clean up the copy on exit
|
||||
kube::util::trap_add "git worktree remove -f ${WORKTREE}" EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user