| 117 | } |
| 118 | |
| 119 | static int commit_create_callback( |
| 120 | git_oid *out, |
| 121 | const git_signature *author, |
| 122 | const git_signature *committer, |
| 123 | const char *message_encoding, |
| 124 | const char *message, |
| 125 | const git_tree *tree, |
| 126 | size_t parent_count, |
| 127 | const git_commit *parents[], |
| 128 | void *payload) |
| 129 | { |
| 130 | char *error_message = NULL; |
| 131 | const int ret = commitCreateCallback( |
| 132 | &error_message, |
| 133 | out, |
| 134 | (git_signature *)author, |
| 135 | (git_signature *)committer, |
| 136 | (char *)message_encoding, |
| 137 | (char *)message, |
| 138 | (git_tree *)tree, |
| 139 | parent_count, |
| 140 | (git_commit **)parents, |
| 141 | payload |
| 142 | ); |
| 143 | return set_callback_error(error_message, ret); |
| 144 | } |
| 145 | |
| 146 | void _go_git_populate_rebase_callbacks(git_rebase_options *opts) |
| 147 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…