diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-04-26 18:43:22 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-04-26 18:43:22 +0200 |
| commit | b3a160b0f8cb91c08b379ac3f3ed8a96a14836d1 (patch) | |
| tree | 96edce36986f6bb060b4ef59c12626c97b3fcc64 /wrapper.c | |
| parent | 9cd1d129bcd567ef65137783a603f8d898d8d933 (diff) | |
Adjust to libgit2 dev changes
This fixes #87
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,12 +26,11 @@ int _go_git_odb_foreach(git_odb *db, void *payload) } void _go_git_setup_callbacks(git_remote_callbacks *callbacks) { - typedef int (*progress_cb)(const char *str, int len, void *data); typedef int (*completion_cb)(git_remote_completion_type type, void *data); typedef int (*credentials_cb)(git_cred **cred, const char *url, const char *username_from_url, unsigned int allowed_types, void *data); typedef int (*transfer_progress_cb)(const git_transfer_progress *stats, void *data); typedef int (*update_tips_cb)(const char *refname, const git_oid *a, const git_oid *b, void *data); - callbacks->progress = (progress_cb)progressCallback; + callbacks->sideband_progress = (git_transport_message_cb)sidebandProgressCallback; callbacks->completion = (completion_cb)completionCallback; callbacks->credentials = (credentials_cb)credentialsCallback; callbacks->transfer_progress = (transfer_progress_cb)transferProgressCallback; |
