Merge branch 'jh/fsck-promisors' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Jan 2018 21:49:51 +0000 (13:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jan 2018 21:49:51 +0000 (13:49 -0800)
commitca59f5c18e804ecd03a5c07e167c8cbfcd56e3e3
tree3e906f2c4a72698cf5865016b5d652047d8260a0
parent1506e0651a1859d61f28f78064687ca55cff2cb6
parent0c16cd499dee09b7fc6dd10cb6a476e96c147ef6
Merge branch 'jh/fsck-promisors' into next

In preparation for implementing narrow/partial clone, the machinery
for checking object connectivity used by gc and fsck has been
taught that a missing object is OK when it is referenced by a
packfile specially marked as coming from trusted repository that
promises to make them available on-demand and lazily.

* jh/fsck-promisors:
  gc: do not repack promisor packfiles
  rev-list: support termination at promisor objects
  sha1_file: support lazily fetching missing objects
  introduce fetch-object: fetch one promisor object
  index-pack: refactor writing of .keep files
  fsck: support promisor objects as CLI argument
  fsck: support referenced promisor objects
  fsck: support refs pointing to promisor objects
  fsck: introduce partialclone extension
  extension.partialclone: introduce partial clone extension
18 files changed:
Documentation/rev-list-options.txt
Makefile
builtin/fsck.c
builtin/index-pack.c
builtin/pack-objects.c
builtin/prune.c
builtin/rev-list.c
cache.h
environment.c
fetch-pack.c
list-objects.c
object.c
revision.c
revision.h
setup.c
sha1_file.c
transport.c
transport.h