diff options
author | Vicent Marti <vicent@github.com> | 2014-04-25 02:10:19 -0700 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-04-25 02:10:19 -0700 |
commit | 8443ed6c1d1237e203474a772fb4281c382df6ac (patch) | |
tree | 3e892ab6b4432bc091a91db3d6c0441a95373c54 /examples | |
parent | 332e4f20273a424efcea06ca1550146c816f4404 (diff) | |
parent | f70cfd34f5c20c447feb19c2e616315764ea7260 (diff) | |
download | libgit2-8443ed6c1d1237e203474a772fb4281c382df6ac.tar.gz |
Merge pull request #2284 from jacquesg/push-progress-callback
Fire progress and update tips callbacks also for pushes.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/network/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c index fdd82a1f7..03f1541a4 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -97,7 +97,7 @@ int fetch(git_repository *repo, int argc, char **argv) // Set up the callbacks (only update_tips for now) callbacks.update_tips = &update_cb; - callbacks.progress = &progress_cb; + callbacks.sideband_progress = &progress_cb; callbacks.credentials = cred_acquire_cb; git_remote_set_callbacks(remote, &callbacks); |