aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2020-08-05 16:06:52 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-06 13:01:03 -0700
commit9eb86f41de7d229bb3a073e16e735cf71e2ffe3b (patch)
tree8273945a26de80729065b6e5d474079a9f996062 /commit-graph.c
parentpack-objects: no fetch when allow-{any,promisor} (diff)
downloadgit-9eb86f41de7d229bb3a073e16e735cf71e2ffe3b.tar.gz
git-9eb86f41de7d229bb3a073e16e735cf71e2ffe3b.zip
fsck: do not lazy fetch known non-promisor object
There is a call to has_object_file(), which lazily fetches missing objects in a partial clone, when the object is known to not be a promisor object. Change that call to has_object(), which does not do any lazy fetching. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions