summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remote.c b/src/remote.c
index c47f2d1ec..82ab22f4a 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -433,16 +433,16 @@ int git_remote_ls(git_remote *remote, git_headlist_cb list_cb, void *payload)
return 0;
}
-int git_remote_download(git_remote *remote, git_off_t *bytes, git_indexer_stats *stats)
+int git_remote_download(git_remote *remote, git_off_t *bytes)
{
int error;
- assert(remote && bytes && stats);
+ assert(remote && bytes);
if ((error = git_fetch_negotiate(remote)) < 0)
return error;
- return git_fetch_download_pack(remote, bytes, stats);
+ return git_fetch_download_pack(remote, bytes);
}
int git_remote_update_tips(git_remote *remote)