Fix missing func

This commit is contained in:
Michael Boulton 2020-08-14 08:36:40 +01:00
parent de24abbdae
commit 9bbbbb4a52
No known key found for this signature in database
GPG Key ID: 8A62CA0BE2E0197E
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@
typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload);
void _go_git_apply_init_options(git_apply_options *options)
{
git_apply_options opts = GIT_APPLY_OPTIONS_INIT;
*options = opts;
}
void _go_git_populate_remote_cb(git_clone_options *opts)
{
opts->remote_cb = (git_remote_create_cb)remoteCreateCallback;