Skip to content

Commit d928ca6

Browse files
authored
Merge pull request #853 from libgit2/cmn/parse-commit-return
commit: parse_commit_options returns an int
2 parents c162d15 + b7b87eb commit d928ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/rugged/rugged_commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ struct commit_data {
425425
* Note that parents may be set even when the function errors, so make
426426
* sure to free this data.
427427
*/
428-
static VALUE parse_commit_options(struct commit_data *out, git_repository *repo, VALUE rb_data)
428+
static int parse_commit_options(struct commit_data *out, git_repository *repo, VALUE rb_data)
429429
{
430430
VALUE rb_message, rb_tree, rb_parents, rb_ref;
431431
int error = 0, parent_count, i;

0 commit comments

Comments
 (0)