summaryrefslogtreecommitdiff
path: root/git-relink.perl
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-03-14 22:26:58 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-17 15:01:27 -0700
commit78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164 (patch)
tree82752edf18c40cf738ac52c8bb362de1446e7a75 /git-relink.perl
parentpack-objects: show progress for reused packfiles (diff)
downloadtgif-78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164.tar.xz
pack-objects: show reused packfile objects in "Counting objects"
When we are sending a pack for push or fetch, we may reuse a chunk of packfile without even parsing it. The progress meter then looks like this: Reusing existing pack: 3440489, done. Counting objects: 3, done. The first line shows that we are reusing a large chunk of objects, and then we further count any objects not included in the reused portion with an actual traversal. These are all implementation details that the user does not need to care about. Instead, we can show the reused objects in the normal "counting..." progress meter (which will simply go much faster than normal), and then continue to add to it as we traverse. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-relink.perl')
0 files changed, 0 insertions, 0 deletions