Update to latest libgit2

Specifically to changes made by ligbit2's pull-request number #1115:

https://github.com/libgit2/libgit2/pull/1115
This commit is contained in:
J. David Ibáñez 2012-12-12 18:58:30 +01:00
parent e4097c5de5
commit ca2c0d75c5
3 changed files with 3 additions and 3 deletions

@ -360,7 +360,7 @@ PyObject *
Diff_find_similar(Diff *self, PyObject *args)
{
int err;
git_diff_find_options opts = {0};
git_diff_find_options opts = GIT_DIFF_FIND_OPTIONS_INIT;
if (!PyArg_ParseTuple(args, "|i", &opts.flags))
return NULL;

@ -105,7 +105,7 @@ Index_clear(Index *self)
PyObject *
Index_diff_tree(Index *self, PyObject *args)
{
git_diff_options opts = {0};
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
git_diff_list *diff;
int err;

@ -269,7 +269,7 @@ Tree_getitem(Tree *self, PyObject *value)
PyObject *
Tree_diff_tree(Tree *self, PyObject *args)
{
git_diff_options opts = {0};
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
git_diff_list *diff;
int err;