diff --git a/libexec/sourcezap/commands/sourcezap-clone b/libexec/sourcezap/commands/sourcezap-clone index 1081d27..fa7e371 100755 --- a/libexec/sourcezap/commands/sourcezap-clone +++ b/libexec/sourcezap/commands/sourcezap-clone @@ -34,5 +34,5 @@ fi "${git}" clone "${giturl}" "${gitdir}" cd "${gitdir}" "${git}" config core.filemode off -"${git}" checkout -t origin/"${branch}" +"${git}" checkout -t origin/"${branch}" || true printok "clone complete" diff --git a/share/sourcezap/RELNOTES b/share/sourcezap/RELNOTES index cc3e413..e79b840 100644 --- a/share/sourcezap/RELNOTES +++ b/share/sourcezap/RELNOTES @@ -1,3 +1,10 @@ +v?.?.? + +| Recover from "git checkout" failure +After this change, "git checkout" exiting unsuccessfully +towards the end of "sourcezap clone" no longer causes +sourcezap to exit as well + v0.2.1 | Fix Makefile