mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 18:19:28 +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