diff options
| author | Mirko Nosenzo <[email protected]> | 2016-05-29 13:33:53 +0200 |
|---|---|---|
| committer | Mirko Nosenzo <[email protected]> | 2016-05-29 13:44:18 +0200 |
| commit | 278dc9ac4fe40b37c68ebc3013467255ab1f832f (patch) | |
| tree | d594c7a6945a3b4cc63a3900c3af1a38c0ed753c /wrapper.c | |
| parent | 8eaae73f85dd3df78df80d2dac066eb0866444ae (diff) | |
Checkout Callbacks
- Added CheckoutNotifyType mapping git_checkout_notify_t
- Added CheckoutOpts.NotifyFlags of type CheckoutNotifyType
- Added CheckoutNotifyCallback mapping git_checkout_notify_cb
- Added CheckoutProgressCallback mapping git_checkout_progress_cb
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,12 @@ void _go_git_populate_remote_cb(git_clone_options *opts) opts->remote_cb = (git_remote_create_cb)remoteCreateCallback; } +void _go_git_populate_checkout_cb(git_checkout_options *opts) +{ + opts->notify_cb = (git_checkout_notify_cb)checkoutNotifyCallback; + opts->progress_cb = (git_checkout_progress_cb)checkoutProgressCallback; +} + int _go_git_visit_submodule(git_repository *repo, void *fct) { return git_submodule_foreach(repo, (gogit_submodule_cbk)&SubmoduleVisitor, fct); |
