path: root/builtin/add.c
diff options
authorJeff King <>2014-03-15 02:26:58 (GMT)
committerJunio C Hamano <>2014-03-17 22:01:27 (GMT)
commit78d2214eb4d10ea1e30dd7e69a4e6d73d9f66164 (patch)
tree82752edf18c40cf738ac52c8bb362de1446e7a75 /builtin/add.c
parent657673f125008da1ef92d2054c9536722c42f73b (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions