diff options
author | Ben Straub <bs@github.com> | 2012-10-16 13:10:27 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-19 19:34:14 -0700 |
commit | 3028be0723f42f31b1973da9f19f2b0468b11754 (patch) | |
tree | 077894f4f24a735cda1361680f14affa35efc37d /src/remote.c | |
parent | 92f91b0e3bc3b7799b2b18ea07b167ad191a47a9 (diff) | |
download | libgit2-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/remote.c')
-rw-r--r-- | src/remote.c | 6 |
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) |