[Libreoffice-commits] online.git: docker/l10n-docker-nightly.sh

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Feb 4 11:30:10 UTC 2019


 docker/l10n-docker-nightly.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f4c5826edec559b0f77f1c037a7d0a895dec45eb
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon Feb 4 12:29:15 2019 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Feb 4 12:29:33 2019 +0100

    Docker: Fetch refs before checking out branch
    
    Change-Id: I581fad6dd90831cffceb1bbc7456749fca941a34

diff --git a/docker/l10n-docker-nightly.sh b/docker/l10n-docker-nightly.sh
index 5601de2f7..72207fb07 100755
--- a/docker/l10n-docker-nightly.sh
+++ b/docker/l10n-docker-nightly.sh
@@ -67,7 +67,7 @@ if test ! -d libreoffice ; then
     git clone https://git.libreoffice.org/core libreoffice || exit 1
 fi
 
-( cd libreoffice && git checkout $LIBREOFFICE_BRANCH && ./g pull -r ) || exit 1
+( cd libreoffice && git fetch --all && git checkout $LIBREOFFICE_BRANCH && ./g pull -r ) || exit 1
 
 # online repo
 if test ! -d online ; then
@@ -75,7 +75,7 @@ if test ! -d online ; then
     ( cd online && ./autogen.sh ) || exit 1
 fi
 
-( cd online && git checkout -f $LIBREOFFICE_BRANCH && git pull -r ) || exit 1
+( cd online && git fetch --all && git checkout -f $LIBREOFFICE_BRANCH && git pull -r ) || exit 1
 
 ##### LibreOffice #####
 


More information about the Libreoffice-commits mailing list