summaryrefslogtreecommitdiff
path: root/t/t5100/quoted-from.in
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-04-15 17:36:18 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-16 13:52:29 +0900
commit5af050437af1c061804b4317154085c65490bbac (patch)
tree0d23bdc726188b7415599ee40db60b3ed34df13f /t/t5100/quoted-from.in
parentgc --auto: exclude base pack if not enough mem to "repack -ad" (diff)
downloadtgif-5af050437af1c061804b4317154085c65490bbac.tar.xz
pack-objects: show some progress when counting kept objects
We only show progress when there are new objects to be packed. But when --keep-pack is specified on the base pack, we will exclude most of objects. This makes 'pack-objects' stay silent for a long time while the counting phase is going. Let's show some progress whenever we visit an object instead. The old "Counting objects" is renamed to "Enumerating objects" and a new progress "Counting objects" line is added. This new "Counting objects" line should progress pretty quick when the system is beefy. But when the system is under pressure, the reading object header done in this phase could be slow and showing progress is an improvement over staying silent in the current code. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/quoted-from.in')
0 files changed, 0 insertions, 0 deletions