diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-07-02 18:11:47 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-07-04 02:18:36 +0200 |
commit | dca20728ebe798ada1045ea3dabcb981166e2b9d (patch) | |
tree | 6bcb0fdb5181ac65712276ea16f8835eb52e0149 /g | |
parent | 8bb1ab5c4456526e2411ba8f953e41daef8b429b (diff) |
./g: don't exit early on ./g checkout -f
Reviewed-on: https://gerrit.libreoffice.org/56822
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 5fce97a58b8f764e35bf98128591c9a89537da05)
Change-Id: I33f54c365bce64ccccfeb1c58fc8e4faddb7ad77
Reviewed-on: https://gerrit.libreoffice.org/56916
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'g')
-rwxr-xr-x | g | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -201,7 +201,7 @@ local module git checkout "$@" || return $? for cmd in "$@" ; do if [ "$cmd" = "-f" ]; then - return 0 + continue elif [ "$cmd" = "-b" ] ; then create_branch=1 elif [ "$create_branch" = "1" ] ; then |