Merge branch 'jk/pack-objects-bitmap-progress-fix'
When "git pack-objects" makes a literal copy of a part of existing packfile using the reachability bitmaps, its update to the progress meter was broken. * jk/pack-objects-bitmap-progress-fix: pack-objects: update "nr_seen" progress based on pack-reused count
This commit is contained in:
@ -3527,7 +3527,8 @@ static int get_object_list_from_bitmap(struct rev_info *revs)
|
||||
&reuse_packfile_bitmap)) {
|
||||
assert(reuse_packfile_objects);
|
||||
nr_result += reuse_packfile_objects;
|
||||
display_progress(progress_state, nr_result);
|
||||
nr_seen += reuse_packfile_objects;
|
||||
display_progress(progress_state, nr_seen);
|
||||
}
|
||||
|
||||
traverse_bitmap_commit_list(bitmap_git, revs,
|
||||
|
||||
Reference in New Issue
Block a user