diff --git a/libexec/portzap/commands/portzap-checkout b/libexec/portzap/commands/portzap-checkout index c2f1cca..16d4f1d 100644 --- a/libexec/portzap/commands/portzap-checkout +++ b/libexec/portzap/commands/portzap-checkout @@ -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"