summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-24 13:29:14 -0700
committerBen Straub <bs@github.com>2012-10-24 13:29:14 -0700
commit7d222e13121aebc269b2923a66c7ba5b734e1a90 (patch)
treedbe6ff108dc21d2b2b17e4d4a36d3be454574b4c /include/git2/remote.h
parentc4958e6818399f401f03986db8772016a97377d7 (diff)
downloadlibgit2-7d222e13121aebc269b2923a66c7ba5b734e1a90.tar.gz
Network progress: rename things
git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index e23997d9a..897dfde8f 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -194,7 +194,7 @@ GIT_EXTERN(int) git_remote_ls(git_remote *remote, git_headlist_cb list_cb, void
GIT_EXTERN(int) git_remote_download(
git_remote *remote,
git_off_t *bytes,
- git_indexer_progress_callback progress_cb,
+ git_transfer_progress_callback progress_cb,
void *progress_payload);
/**
@@ -325,7 +325,7 @@ GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbac
/**
* Get the statistics structure that is filled in by the fetch operation.
*/
-GIT_EXTERN(const git_indexer_stats *) git_remote_stats(git_remote *remote);
+GIT_EXTERN(const git_transfer_progress *) git_remote_stats(git_remote *remote);
enum {
GIT_REMOTE_DOWNLOAD_TAGS_UNSET,