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 /tests/pack/packbuilder.c | |
| 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 'tests/pack/packbuilder.c')
| -rw-r--r-- | tests/pack/packbuilder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pack/packbuilder.c b/tests/pack/packbuilder.c index 394841e87..397d32e92 100644 --- a/tests/pack/packbuilder.c +++ b/tests/pack/packbuilder.c @@ -12,7 +12,7 @@ static git_packbuilder *_packbuilder; static git_indexer *_indexer; static git_vector _commits; static int _commits_is_initialized; -static git_transfer_progress _stats; +static git_indexer_progress _stats; extern bool git_disable_pack_keep_file_checks; @@ -88,14 +88,14 @@ static void seed_packbuilder(void) static int feed_indexer(void *ptr, size_t len, void *payload) { - git_transfer_progress *stats = (git_transfer_progress *)payload; + git_indexer_progress *stats = (git_indexer_progress *)payload; return git_indexer_append(_indexer, ptr, len, stats); } void test_pack_packbuilder__create_pack(void) { - git_transfer_progress stats; + git_indexer_progress stats; git_buf buf = GIT_BUF_INIT, path = GIT_BUF_INIT; git_hash_ctx ctx; git_oid hash; |
