Jelmer Vernooij 4 anni fa
parent
commit
e79dbcb3f0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dulwich/refs.py

+ 1 - 1
dulwich/refs.py

@@ -504,7 +504,7 @@ class DictRefsContainer(RefsContainer):
         # TODO(dborowitz): replace this with a public function that uses
         # set_if_equal.
         for ref, sha in refs.items():
-            self.set_if_equal(ref, None, sha)
+            self.set_if_equals(ref, None, sha)
 
     def _update_peeled(self, peeled):
         """Update cached peeled refs; intended only for testing."""