summaryrefslogtreecommitdiff
path: root/Documentation/git-gc.txt
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-04-15 15:36:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-16 04:52:29 (GMT)
commit5af050437af1c061804b4317154085c65490bbac (patch)
tree0d23bdc726188b7415599ee40db60b3ed34df13f /Documentation/git-gc.txt
parent9806f5a7bf3d02247c2c500ef74f56213cd7b07a (diff)
downloadgit-5af050437af1c061804b4317154085c65490bbac.zip
git-5af050437af1c061804b4317154085c65490bbac.tar.gz
git-5af050437af1c061804b4317154085c65490bbac.tar.bz2
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 'Documentation/git-gc.txt')
0 files changed, 0 insertions, 0 deletions