Add support for creating signed commits and signing commits during a rebase #626

Merged
mbfr merged 25 commits from master into master 2020-08-18 11:25:31 -05:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 7cb7fb1f08 - Show all commits

View File

@ -74,7 +74,7 @@ func newRebaseOperationFromC(c *C.git_rebase_operation) *RebaseOperation {
//export commitSignCallback
func commitSignCallback(_signature *C.git_buf, _signature_field *C.git_buf, _commit_content *C.char, _payload unsafe.Pointer) C.int {
opts, ok := pointerHandles.Get(_payload).(RebaseOptions)
opts, ok := pointerHandles.Get(_payload).(*RebaseOptions)
if !ok {
panic("invalid sign payload")
}