summaryrefslogtreecommitdiff
path: root/src/clone.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-16 13:10:27 -0700
committerBen Straub <bs@github.com>2012-10-19 19:34:14 -0700
commit3028be0723f42f31b1973da9f19f2b0468b11754 (patch)
tree077894f4f24a735cda1361680f14affa35efc37d /src/clone.c
parent92f91b0e3bc3b7799b2b18ea07b167ad191a47a9 (diff)
downloadlibgit2-3028be0723f42f31b1973da9f19f2b0468b11754.tar.gz
Add git_indexer_stats field to git_remote
Also removing all the *stats parameters from external APIs that don't need them anymore.
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c
index 85e69ad97..215185610 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -263,7 +263,7 @@ static int setup_remotes_and_fetch(git_repository *repo,
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, fetch_stats)) {
+ if (!git_remote_download(origin, &bytes)) {
/* 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 */