git_index_read_tree now accepts a stats structure

Indexer stats may be NULL but the method still needs three arguments
This commit is contained in:
Ferengee 2012-08-20 18:26:57 +03:00
parent 6e06863722
commit f60b8a35b5

@ -331,7 +331,7 @@ Index_read_tree(Index *self, PyObject *value)
if (err < 0)
return Error_set(err);
err = git_index_read_tree(self->index, tree);
err = git_index_read_tree(self->index, tree, NULL);
if (err < 0)
return Error_set(err);