fsck: support referenced promisor objects
commitcaba7fc31a0e2b5fd362577dd20c85a577c9f4e4
authorJonathan Tan <jonathantanmy@google.com>
Tue, 5 Dec 2017 16:58:46 +0000 (5 16:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Dec 2017 17:46:05 +0000 (5 09:46 -0800)
treea9f2e324d3e95f84962060a4fa9b032367be52c1
parent43f25158ca0ae31b663e37f6b538daf735df10a3
fsck: support referenced promisor objects

Teach fsck to not treat missing promisor objects indirectly pointed to
by refs as an error when extensions.partialclone is set.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fsck.c
t/t0410-partial-clone.sh