summaryrefslogtreecommitdiff
path: root/gerritbot
diff options
context:
space:
mode:
authorMathias Michel <matm@gmx.fr>2014-07-06 01:20:20 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2014-07-07 09:32:07 +0000
commit4242f42c2bb6434effca271fd2f83bfc6d0bb813 (patch)
tree7fc47c14d667baaea47b5d0bbf2b532116ff5b61 /gerritbot
parent7dd15a2f55a5e1803d72038664ec3edd1a5b01d1 (diff)
[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@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'gerritbot')
-rwxr-xr-xgerritbot/send-daily-digest2
1 files changed, 1 insertions, 1 deletions
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'])