diff options
| author | Ben Straub <bs@github.com> | 2012-10-17 14:02:24 -0700 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-10-19 19:36:22 -0700 |
| commit | 216863c48fd05b08e9b0083d61dcb163a2add62a (patch) | |
| tree | 783430092fa565740a2a42c3b761da13a65c8d52 /src/clone.c | |
| parent | 0ae81fc479bf3cf7ed31b3e3b070de7990102f1d (diff) | |
| download | libgit2-216863c48fd05b08e9b0083d61dcb163a2add62a.tar.gz | |
Fetch/indexer: progress callbacks
Diffstat (limited to 'src/clone.c')
| -rw-r--r-- | src/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c index 2000de6f3..0acf588b4 100644 --- a/src/clone.c +++ b/src/clone.c @@ -258,7 +258,7 @@ static int setup_remotes_and_fetch(git_repository *repo, const char *origin_url) if (!git_remote_add(&origin, repo, GIT_REMOTE_ORIGIN, origin_url)) { /* Connect and download everything */ if (!git_remote_connect(origin, GIT_DIR_FETCH)) { - if (!git_remote_download(origin, &bytes)) { + if (!git_remote_download(origin, &bytes, NULL, NULL)) { /* Create "origin/foo" branches for all remote branches */ if (!git_remote_update_tips(origin)) { /* Point HEAD to the same ref as the remote's head */ |
