fsck: support refs pointing to promisor objects
commit43f25158ca0ae31b663e37f6b538daf735df10a3
authorJonathan Tan <jonathantanmy@google.com>
Tue, 5 Dec 2017 16:58:45 +0000 (5 16:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Dec 2017 17:46:05 +0000 (5 09:46 -0800)
treeaae150702c954a337727e83a91dc2511bf4dfac2
parent498f1f61f123fd66eccc05c1d19356b25b4225b2
fsck: support refs pointing to promisor objects

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

For the purposes of warning about no default refs, such refs are still
treated as legitimate refs.

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