summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper.c')
-rw-r--r--wrapper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wrapper.c b/wrapper.c
index c4a5ff0..4308ae4 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -6,6 +6,12 @@
typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload);
+void _go_git_populate_apply_cb(git_apply_options *options)
+{
+ options->delta_cb = (git_apply_delta_cb)deltaApplyCallback;
+ options->hunk_cb = (git_apply_hunk_cb)hunkApplyCallback;
+}
+
void _go_git_populate_remote_cb(git_clone_options *opts)
{
opts->remote_cb = (git_remote_create_cb)remoteCreateCallback;