[Libreoffice-commits] dev-tools.git: gerritbot/send-daily-digest

Mathias Michel matm at gmx.fr
Mon Jul 7 02:32:25 PDT 2014


 gerritbot/send-daily-digest |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4242f42c2bb6434effca271fd2f83bfc6d0bb813
Author: Mathias Michel <matm at gmx.fr>
Date:   Sun Jul 6 01:20:20 2014 +0200

    [send-daily-digest] Fix bare repo not forwarding branch.
    
    The fetch command for the reference repository only updated the fetch
    index and never pushed it forward, so git shortlog afterwards always
    stayed back in time.
    
    Change-Id: Id03d00b17f2cafc31c3229084c4893e45e2d9023
    Reviewed-on: https://gerrit.libreoffice.org/10097
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
    Tested-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index 79d86b8..19cb5b5 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -73,7 +73,7 @@ def init_freshers():
     if not os.path.exists(os.path.join(repo_dir,'config')):
         subprocess.call(['git','clone','--bare','git://gerrit.libreoffice.org/core',repo_dir])
     else:
-        subprocess.call(['git','fetch','origin'])
+        subprocess.call(['git','fetch','origin','master:master'])
     return subprocess.check_output(['git','shortlog','-s','master'])
 
 


More information about the Libreoffice-commits mailing list