浏览代码

Fix commit_index.

Jelmer Vernooij 16 年之前
父节点
当前提交
3163785f59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dulwich/index.py

+ 1 - 1
dulwich/index.py

@@ -258,4 +258,4 @@ def commit_tree(object_store, blobs):
 
 
 
 
 def commit_index(object_store, index):
 def commit_index(object_store, index):
-    return commit_tree(object_store, index.blobs())
+    return commit_tree(object_store, index.iterblobs())