瀏覽代碼

Fix git clone

John Carr 16 年之前
父節點
當前提交
ec88072ab9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()