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

25 Commits

Author SHA1 Message Date
lhchavez 8c92ef3805
Delete modules.txt 2020-08-18 09:21:41 -07:00
Michael Boulton 0fc857204a
Remove need to grow/zero buffer and add comment 2020-08-18 16:19:50 +01:00
Michael Boulton 051b9cd7b0
godoc 2020-08-18 15:17:46 +01:00
Michael Boulton 971e18b585
Revert "simplify setting buffers"
This reverts commit d2137760e0.

Causes libgit2 to abort
2020-08-18 15:16:33 +01:00
Michael Boulton c0ec642fb7
Fix formatting 2020-08-18 15:14:04 +01:00
Michael Boulton d2137760e0
simplify setting buffers 2020-08-18 15:06:33 +01:00
Michael Boulton d6df76dca9
Merge remote-tracking branch 'GIT2GO/master' into master 2020-08-18 14:20:08 +01:00
Michael Boulton e76c970b57
Fix godoc and make name of signing callback better 2020-08-18 08:55:17 +01:00
Michael Boulton 5d83180aef
Fix gofmt 2020-08-18 08:20:17 +01:00
Michael Boulton a08eb252c3
Remove 'opts' variations of test helpers and just always pass empty options 2020-08-14 16:31:49 +01:00
Michael Boulton 9a59f80e1c
check head commit when checking all commits are signed 2020-08-14 16:28:14 +01:00
Michael Boulton f36992c389
Mark function as helper to make stack traces slightly cleaner 2020-08-14 16:24:03 +01:00
Michael Boulton 90e6540bdc
Reuse utility function 2020-08-14 16:22:43 +01:00
Michael Boulton 7cb7fb1f08
Fix conversion after change 2020-08-14 16:21:28 +01:00
michael boulton 8f8ca35359
Update rebase.go
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
2020-08-14 16:15:45 +01:00
Michael Boulton 87253ae40d
Remove todo 2020-08-14 16:14:37 +01:00
Michael Boulton bb9dcc7be4
Fix uneeded extra buf size increment in rebase 2020-08-14 16:14:15 +01:00
Michael Boulton a94318f919
Manually zero out buffer after reallocing it in rebase 2020-08-14 16:10:48 +01:00
Michael Boulton 0c942dbd89
Fix memory leak in rebase 2020-08-14 15:53:10 +01:00
Michael Boulton 23fcabf687
Make it possible to use a git2go error as a return value from a signing callback and have it propagate 2020-08-14 15:51:43 +01:00
Michael Boulton 1ec8a67fe4
Fix another memory leak in commit 2020-08-14 15:49:12 +01:00
Michael Boulton 3ba68ac003
Fix memory leak in Withsignature 2020-08-14 15:41:17 +01:00
Michael Boulton 6f71ba98e0
Add '-t' flag to go get 2020-08-14 11:25:47 +01:00
Michael Boulton fe73d5a76d
Add missing modules.txt 2020-08-12 09:53:33 +01:00
Michael Boulton c9e192b7e5
Add support for creating signed commits and signing commits during a rebase 2020-08-12 09:44:20 +01:00