diff --git a/libexec/sourcezap/commands/sourcezap-checkout b/libexec/sourcezap/commands/sourcezap-checkout index 71713e6..ea40ff8 100755 --- a/libexec/sourcezap/commands/sourcezap-checkout +++ b/libexec/sourcezap/commands/sourcezap-checkout @@ -32,5 +32,6 @@ fi cd "${gitdir}" "${git}" fetch origin -"${git}" checkout "${branch}" || "${git}" checkout -t origin/"${branch}" +"${git}" checkout "${branch}" || +"${git}" checkout -t origin/"${branch}" printok "${branch} checked out"