Skip to content

Commit 7fdbbd8

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? pack-objects: thread the path-based compression
Progress now needs a repository... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3ac6cce commit 7fdbbd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

builtin/pack-objects.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,8 @@ static void find_deltas_by_region(struct object_entry *list,
32603260
progress_nr = regions[nr - 1].start + regions[nr - 1].nr;
32613261

32623262
if (progress)
3263-
progress_state = start_progress(_("Compressing objects by path"),
3263+
progress_state = start_progress(the_repository,
3264+
_("Compressing objects by path"),
32643265
progress_nr);
32653266

32663267
while (nr--)
@@ -3339,7 +3340,8 @@ static void ll_find_deltas_by_region(struct object_entry *list,
33393340
CALLOC_ARRAY(p, delta_search_threads);
33403341

33413342
if (progress)
3342-
progress_state = start_progress(_("Compressing objects by path"),
3343+
progress_state = start_progress(the_repository,
3344+
_("Compressing objects by path"),
33433345
progress_nr);
33443346
/* Partition the work amongst work threads. */
33453347
for (i = 0; i < delta_search_threads; i++) {

0 commit comments

Comments
 (0)