Jelajahi Sumber

Fix bug in find_missing_objects.

Jelmer Vernooij 16 tahun lalu
induk
melakukan
627d52793a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      dulwich/repo.py

+ 2 - 2
dulwich/repo.py

@@ -105,8 +105,8 @@ class Repo(object):
             graph_walker.ack(ref)
         ref = graph_walker.next()
     while commits_to_send:
-        sha = (commits_to_send.pop(), None)
-        if sha in sha_done:
+        sha = commits_to_send.pop()
+        if (sha, None) in sha_done:
             continue
 
         c = self.commit(sha)