[projects/git-slug: 61/170] Always fetch notes/commits

glen glen at pld-linux.org
Mon Sep 21 21:43:56 CEST 2015


commit 55777c8147544c4866c8c2727448c98bc5c58bfe
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Fri Oct 28 12:36:03 2011 +0100

    Always fetch notes/commits
    
    The changed commit logs are stored in these notes.

 slug.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/slug.py b/slug.py
index 0b13079..478f317 100755
--- a/slug.py
+++ b/slug.py
@@ -119,6 +119,7 @@ def fetch_packages(options):
             if gitrepo.check_remote(ref) != refs.heads[dir][ref]:
                 ref2fetch.append('+{}:{}/{}'.format(ref, REMOTEREFS, ref[len('refs/heads/'):]))
         if ref2fetch:
+            ref2fetch.append('refs/notes/commits:refs/notes/commits')
             fetch_queue.put((gitrepo, ref2fetch))
             updated_repos.append(gitrepo)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5



More information about the pld-cvs-commit mailing list