Explorar o código

Fix git clone

John Carr %!s(int64=16) %!d(string=hai) anos
pai
achega
ec88072ab9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -84,7 +84,7 @@ class Repo(object):
     :param progress: Simple progress function that will be called with 
         updated progress strings.
     """
-    wants = determine_wants(self.heads())
+    wants = determine_wants(self.get_refs())
     commits_to_send = set(wants)
     sha_done = set()
     ref = graph_walker.next()