Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-04-25 13:10:19 +0400
committerVicent Marti <vicent@github.com>2014-04-25 13:10:19 +0400
commit8443ed6c1d1237e203474a772fb4281c382df6ac (patch)
tree3e892ab6b4432bc091a91db3d6c0441a95373c54 /examples
parent332e4f20273a424efcea06ca1550146c816f4404 (diff)
parentf70cfd34f5c20c447feb19c2e616315764ea7260 (diff)
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.c2
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);