• Jonathan Tan's avatar
    fsck: introduce partialclone extension · 498f1f61
    Jonathan Tan authored
    Currently, Git does not support repos with very large numbers of objects
    or repos that wish to minimize manipulation of certain blobs (for
    example, because they are very large) very well, even if the user
    operates mostly on part of the repo, because Git is designed on the
    assumption that every referenced object is available somewhere in the
    repo storage. In such an arrangement, the full set of objects is usually
    available in remote storage, ready to be lazily downloaded.
    Teach fsck about the new state of affairs. In this commit, teach fsck
    that missing promisor objects referenced from the reflog are not an
    error case; in future commits, fsck will be taught about other cases.
    Signed-off-by: default avatarJonathan Tan <jonathantanmy@google.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
packfile.h 5.41 KB