Kaydet (Commit) 5fce97a5 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

./g: don't exit early on ./g checkout -f

Change-Id: I33f54c365bce64ccccfeb1c58fc8e4faddb7ad77
Reviewed-on: https://gerrit.libreoffice.org/56822Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 4c475bc6
...@@ -201,7 +201,7 @@ do_checkout() ...@@ -201,7 +201,7 @@ do_checkout()
git checkout "$@" || return $? git checkout "$@" || return $?
for cmd in "$@" ; do for cmd in "$@" ; do
if [ "$cmd" = "-f" ]; then if [ "$cmd" = "-f" ]; then
return 0 continue
elif [ "$cmd" = "-b" ] ; then elif [ "$cmd" = "-b" ] ; then
create_branch=1 create_branch=1
elif [ "$create_branch" = "1" ] ; then elif [ "$create_branch" = "1" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment