summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-03-15 02:26:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-17 22:01:27 (GMT)
commit78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164 (patch)
tree82752edf18c40cf738ac52c8bb362de1446e7a75 /builtin/add.c
parent657673f125008da1ef92d2054c9536722c42f73b (diff)
downloadgit-78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164.zip
git-78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164.tar.gz
git-78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164.tar.bz2
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 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions