diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-08-31 13:05:36 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-08-31 13:05:36 +0200 |
| commit | e4b222288827c852e27f576e591d9630245d4b21 (patch) | |
| tree | 462d6a45e7b6ea01018d61221558e9e4babb8c50 /wrapper.c | |
| parent | 3d15c877d8d34c4268a7455bc60129681fa09100 (diff) | |
| parent | 0b530c15cfff492e61c7afae55888fe1eeffe214 (diff) | |
Merge pull request #242 from pks-t/fix-populate-clone-options
clone: do not free clone options' payload
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,11 @@ typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload); +void _go_git_populate_remote_cb(git_clone_options *opts) +{ + opts->remote_cb = (git_remote_create_cb)remoteCreateCallback; +} + int _go_git_visit_submodule(git_repository *repo, void *fct) { return git_submodule_foreach(repo, (gogit_submodule_cbk)&SubmoduleVisitor, fct); |
