(copts *C.git_rebase_options)
| 259 | } |
| 260 | |
| 261 | func freeRebaseOptions(copts *C.git_rebase_options) { |
| 262 | if copts == nil { |
| 263 | return |
| 264 | } |
| 265 | C.free(unsafe.Pointer(copts.rewrite_notes_ref)) |
| 266 | freeMergeOptions(&copts.merge_options) |
| 267 | freeCheckoutOptions(&copts.checkout_options) |
| 268 | if copts.payload != nil { |
| 269 | pointerHandles.Untrack(copts.payload) |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | func mapEmptyStringToNull(ref string) *C.char { |
| 274 | if ref == "" { |
no test coverage detected
searching dependent graphs…