Add support for creating signed commits (#626) #641

Merged
lhchavez merged 2 commits from cherry-pick-213912341-release-0.27 into release-0.27 2020-08-18 11:52:46 -05:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit d83a546d23 - Show all commits

View File

@ -108,7 +108,7 @@ func (ro *RebaseOptions) toC() *C.git_rebase_options {
if ro == nil {
return nil
}
opts := &C.git_rebase_options{
return &C.git_rebase_options{
version: C.uint(ro.Version),
quiet: C.int(ro.Quiet),
inmemory: C.int(ro.InMemory),
@ -116,8 +116,6 @@ func (ro *RebaseOptions) toC() *C.git_rebase_options {
merge_options: *ro.MergeOptions.toC(),
checkout_options: *ro.CheckoutOptions.toC(),
}
return opts
}
func mapEmptyStringToNull(ref string) *C.char {