Skip to content

Commit

Permalink
Revert "commit: cast due to commit creation type changes"
Browse files Browse the repository at this point in the history
This reverts commit 1d609fa.
  • Loading branch information
carlosmn committed Nov 3, 2024
1 parent 6567a4c commit 23f7bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/rugged/rugged_commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ static VALUE rb_git_commit_create(VALUE self, VALUE rb_repo, VALUE rb_data)
commit_data.message,
commit_data.tree,
commit_data.parent_count,
(git_commit * const *) commit_data.parents);
commit_data.parents);

cleanup:
free_commit_options(&commit_data);
Expand Down Expand Up @@ -813,7 +813,7 @@ static VALUE rb_git_commit_create_to_s(VALUE self, VALUE rb_repo, VALUE rb_data)
commit_data.message,
commit_data.tree,
commit_data.parent_count,
(git_commit * const *) commit_data.parents);
commit_data.parents);

cleanup:
free_commit_options(&commit_data);
Expand Down

0 comments on commit 23f7bc0

Please sign in to comment.