Update portzap-checkout
This commit is contained in:
parent
4d791170a1
commit
2de42be1ce
1 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,10 @@ gitexec()
|
|||
/bin/sh -c "umask ${mode}; ${git} ${1}"
|
||||
}
|
||||
|
||||
printok() {
|
||||
"${libexec}"/utils/printok "$1"
|
||||
}
|
||||
|
||||
printerr() {
|
||||
"${libexec}"/utils/printerr "$1"
|
||||
}
|
||||
|
@ -45,4 +49,4 @@ gitexec "fetch origin"
|
|||
gitexec "checkout ${branch}" ||
|
||||
gitexec "checkout -t origin/${branch}"
|
||||
set +x
|
||||
printf "current branch: %s\n" "${branch}"
|
||||
printok "${branch} checked out"
|
||||
|
|
Loading…
Reference in a new issue