From d344673f6633bfe265d95696d7d0911cfda88d78 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 19 Jul 2024 14:22:37 -0300 Subject: [PATCH] Split checkout across multiple lines --- libexec/sourcezap/commands/sourcezap-checkout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"