diff options
author | Ben Straub <bs@github.com> | 2012-10-17 00:10:27 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-20 06:34:14 +0400 |
commit | 3028be0723f42f31b1973da9f19f2b0468b11754 (patch) | |
tree | 077894f4f24a735cda1361680f14affa35efc37d /src/fetch.c | |
parent | 92f91b0e3bc3b7799b2b18ea07b167ad191a47a9 (diff) |
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/fetch.c')
-rw-r--r-- | src/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fetch.c b/src/fetch.c index dc01f6791..242946356 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -302,7 +302,7 @@ on_error: return error; } -int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_stats *stats) +int git_fetch_download_pack(git_remote *remote, git_off_t *bytes) { git_transport *t = remote->transport; @@ -310,9 +310,9 @@ int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_st return 0; if (t->own_logic) - return t->download_pack(t, remote->repo, bytes, stats); + return t->download_pack(t, remote->repo, bytes, &remote->stats); - return git_fetch__download_pack(t, remote->repo, bytes, stats); + return git_fetch__download_pack(t, remote->repo, bytes, &remote->stats); } |