Merge branch 'jt/cache-tree-allow-missing-object-in-partial-clone'
commita08b1d62b0c58c795b3ddbe34ea1f68786b95c82
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 04:34:08 +0000 (19 13:34 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 04:34:08 +0000 (19 13:34 +0900)
tree41ea597bdcbef73f5475f7906551d8748a3b2910
parent465e73fff380808f0ba3fb17984ab8636afb6405
parent2f215ff10bdf02f6c760ea34968fc39ae75ae449
Merge branch 'jt/cache-tree-allow-missing-object-in-partial-clone'

In a partial clone that will lazily be hydrated from the
originating repository, we generally want to avoid "does this
object exist (locally)?" on objects that we deliberately omitted
when we created the clone.  The cache-tree codepath (which is used
to write a tree object out of the index) however insisted that the
object exists, even for paths that are outside of the partial
checkout area.  The code has been updated to avoid such a check.

* jt/cache-tree-allow-missing-object-in-partial-clone:
  cache-tree: skip some blob checks in partial clone
cache-tree.c