File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 527
527
LibGit2.CherrypickOptions
528
528
529
529
Matches the [`git_cherrypick_options`](https://libgit2.github.com/libgit2/#HEAD/type/git_cherrypick_options) struct.
530
+
531
+ The fields represent:
532
+ * `version`: version of the struct in use, in case this changes later. For now, always `1`.
533
+ * `mainline`: if cherrypicking a merge commit, specifies the parent number (starting at `1`)
534
+ which will allow cherrypick to apply the changes relative to that parent. Only relevant if
535
+ cherrypicking a merge commit. Default is `0`.
536
+ * `merge_opts`: options for merging the changes in. See [`MergeOptions`](@ref) for more information.
537
+ * `checkout_opts`: options for the checkout of the commit being cherrypicked. See [`CheckoutOptions`](@ref)
538
+ for more information.
530
539
"""
531
540
@kwdef struct CherrypickOptions
532
541
version:: Cuint = 1
You can’t perform that action at this time.
0 commit comments