Update portzap-checkout

This commit is contained in:
0x1eef 2024-05-23 00:01:22 -03:00
parent 4d791170a1
commit 2de42be1ce

View file

@ -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"