diff options
author | Jeff King <peff@peff.net> | 2014-03-14 22:26:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-17 15:01:27 -0700 |
commit | 78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164 (patch) | |
tree | 82752edf18c40cf738ac52c8bb362de1446e7a75 /pack.h | |
parent | pack-objects: show progress for reused packfiles (diff) | |
download | tgif-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 'pack.h')
0 files changed, 0 insertions, 0 deletions