Fix a stylistic nit.
This commit is contained in:
3
pygit2.c
3
pygit2.c
@@ -656,8 +656,7 @@ Commit_get_parents(Commit *commit)
|
|||||||
if (!list)
|
if (!list)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
for (i=0; i < parent_count; i++)
|
for (i=0; i < parent_count; i++) {
|
||||||
{
|
|
||||||
parent = git_commit_parent(commit->commit, i);
|
parent = git_commit_parent(commit->commit, i);
|
||||||
obj = wrap_object((git_object *)parent, commit->repo);
|
obj = wrap_object((git_object *)parent, commit->repo);
|
||||||
obj->own_obj = 0;
|
obj->own_obj = 0;
|
||||||
|
Reference in New Issue
Block a user