summaryrefslogtreecommitdiff
path: root/builtin/ls-files.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-09-13 18:02:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-17 20:49:41 (GMT)
commit144d70333e826ea2480d60eb2298013eeef0cabf (patch)
tree49b0a1725156f777f902370ac1fc27856225babb /builtin/ls-files.c
parentcc6af73c029da23f7b2c98c60e4fba1ca2db215b (diff)
downloadgit-144d70333e826ea2480d60eb2298013eeef0cabf.zip
git-144d70333e826ea2480d60eb2298013eeef0cabf.tar.gz
git-144d70333e826ea2480d60eb2298013eeef0cabf.tar.bz2
multi-pack-index: report progress during 'verify'
When verifying a multi-pack-index, the only action that takes significant time is checking the object offsets. For example, to verify a multi-pack-index containing 6.2 million objects in the Linux kernel repository takes 1.3 seconds on my machine. 99% of that time is spent looking up object offsets in each of the packfiles and comparing them to the multi-pack-index offset. Add a progress indicator for that section of the 'verify' verb. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/ls-files.c')
0 files changed, 0 insertions, 0 deletions