Continue script execution when "git checkout" fails
This commit is contained in:
parent
0b029b5124
commit
c97b48bc0d
2 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue