summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authormichael boulton <[email protected]>2020-08-18 17:25:31 +0100
committerGitHub <[email protected]>2020-08-18 09:25:31 -0700
commit7d4453198b55ecc2d9e09b64352edecb5db8b6ef (patch)
tree60fd2ff9d59edb85fce2e49a3fea2a553bac73f7 /wrapper.c
parent7883ec85de56ee55667481228282fd690fce6246 (diff)
Add support for creating signed commits and signing commits during a rebase (#626)
Diffstat (limited to 'wrapper.c')
-rw-r--r--wrapper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wrapper.c b/wrapper.c
index 4308ae4..90b0e1e 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -12,6 +12,11 @@ void _go_git_populate_apply_cb(git_apply_options *options)
options->hunk_cb = (git_apply_hunk_cb)hunkApplyCallback;
}
+void _go_git_populate_commit_sign_cb(git_rebase_options *opts)
+{
+ opts->signing_cb = (git_commit_signing_cb)commitSignCallback;
+}
+
void _go_git_populate_remote_cb(git_clone_options *opts)
{
opts->remote_cb = (git_remote_create_cb)remoteCreateCallback;