mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #7243 from libgit2/ethomson/index-stats
This commit is contained in:
@@ -931,7 +931,6 @@ int git_indexer_append(git_indexer *idx, const void *data, size_t size, git_inde
|
||||
stats->local_objects = 0;
|
||||
stats->total_deltas = 0;
|
||||
stats->indexed_deltas = 0;
|
||||
stats->received_bytes = 0;
|
||||
|
||||
if ((error = do_progress_callback(idx, stats)) != 0)
|
||||
return error;
|
||||
|
||||
@@ -1420,7 +1420,7 @@ int git_packbuilder_write(
|
||||
git_str object_path = GIT_STR_INIT;
|
||||
git_indexer_options opts = GIT_INDEXER_OPTIONS_INIT;
|
||||
git_indexer *indexer = NULL;
|
||||
git_indexer_progress stats;
|
||||
git_indexer_progress stats = { 0 };
|
||||
struct pack_write_context ctx;
|
||||
int t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user