[Libreoffice-commits] core.git: g

Thorsten Behrens Thorsten.Behrens at CIB.de
Mon Jul 2 21:51:31 UTC 2018


 g |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5fce97a58b8f764e35bf98128591c9a89537da05
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Mon Jul 2 18:11:47 2018 +0200

    ./g: don't exit early on ./g checkout -f
    
    Change-Id: I33f54c365bce64ccccfeb1c58fc8e4faddb7ad77
    Reviewed-on: https://gerrit.libreoffice.org/56822
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/g b/g
index 12d7631ff39b..746babe23539 100755
--- a/g
+++ b/g
@@ -201,7 +201,7 @@ do_checkout()
     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


More information about the Libreoffice-commits mailing list