summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2024-12-03 13:52:55 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-10 08:53:59 +0900
commit36198026d85848119a8eeb9286d10e795a9e0461 (patch)
tree16a76b75942e9851fcd84d6ac20a1bac8b6c54c5 /builtin/commit-graph.c
parent911d14203c019d52431b1197dcbf44f163eac024 (diff)
index-pack --promisor: don't check blobs
As a follow-up to the parent of this commit, it was found that not checking for the existence of blobs linked from trees sped up the fetch from 24m47.815s to 2m2.127s. Teach Git to do that. The tradeoff of not checking blobs is documented in a code comment. (Blobs may also be linked from tag objects, but it is impossible to know the type of an object linked from a tag object without looking it up in the object database, so the code for that is untouched.) Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions