From 2de42be1ce7440eb441da314c598eb5a8570cd3b Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 May 2024 00:01:22 -0300 Subject: [PATCH] Update portzap-checkout --- libexec/portzap/commands/portzap-checkout | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"