(opts *C.git_rebase_options)
| 224 | } |
| 225 | |
| 226 | func rebaseOptionsFromC(opts *C.git_rebase_options) RebaseOptions { |
| 227 | return RebaseOptions{ |
| 228 | Quiet: int(opts.quiet), |
| 229 | InMemory: int(opts.inmemory), |
| 230 | RewriteNotesRef: C.GoString(opts.rewrite_notes_ref), |
| 231 | MergeOptions: mergeOptionsFromC(&opts.merge_options), |
| 232 | CheckoutOptions: checkoutOptionsFromC(&opts.checkout_options), |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | func populateRebaseOptions(copts *C.git_rebase_options, opts *RebaseOptions, repo *Repository, errorTarget *error) *C.git_rebase_options { |
| 237 | C.git_rebase_options_init(copts, C.GIT_REBASE_OPTIONS_VERSION) |
no test coverage detected
searching dependent graphs…