diff options
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index eda57c53e..58abd58a7 100644 --- a/src/commit.c +++ b/src/commit.c @@ -204,7 +204,7 @@ int git_commit__parse_buffer(git_commit *commit, void *data, size_t len) if (commit->uninteresting) parent->uninteresting = 1; - if (git_commit_list_push_back(&commit->parents, parent)) + if (git_commit_list_push_back(&commit->parents, parent) < 0) return GIT_ENOMEM; } |