diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-02-21 10:33:30 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-02-22 11:25:14 +0000 |
commit | a1ef995dc03379fb1f5151b5d98d16644218c95e (patch) | |
tree | f209958f5f27dfbe3dc2da296c801563a348cce4 /include/git2/sys | |
parent | 975d6722a5c203427ab63789d329c00b76461225 (diff) | |
download | libgit2-a1ef995dc03379fb1f5151b5d98d16644218c95e.tar.gz |
indexer: use git_indexer_progress throughout
Update internal usage of `git_transfer_progress` to
`git_indexer_progreses`.
Diffstat (limited to 'include/git2/sys')
-rw-r--r-- | include/git2/sys/odb_backend.h | 2 | ||||
-rw-r--r-- | include/git2/sys/transport.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/sys/odb_backend.h b/include/git2/sys/odb_backend.h index 1a747570d..bc2af120c 100644 --- a/include/git2/sys/odb_backend.h +++ b/include/git2/sys/odb_backend.h @@ -82,7 +82,7 @@ struct git_odb_backend { int GIT_CALLBACK(writepack)( git_odb_writepack **, git_odb_backend *, git_odb *odb, - git_transfer_progress_cb progress_cb, void *progress_payload); + git_indexer_progress_cb progress_cb, void *progress_payload); /** * "Freshens" an already existing object, updating its last-used diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index 2a2f3c19a..d7c7313af 100644 --- a/include/git2/sys/transport.h +++ b/include/git2/sys/transport.h @@ -98,8 +98,8 @@ struct git_transport { int GIT_CALLBACK(download_pack)( git_transport *transport, git_repository *repo, - git_transfer_progress *stats, - git_transfer_progress_cb progress_cb, + git_indexer_progress *stats, + git_indexer_progress_cb progress_cb, void *progress_payload); /** Checks to see if the transport is connected */ |