Re: [PATCH v2 1/2] sha1-file: support OBJECT_INFO_FOR_PREFETCH

2019-04-05 Thread Jeff King
On Fri, Mar 29, 2019 at 02:39:27PM -0700, Jonathan Tan wrote: > Teach oid_object_info_extended() to support a new flag that inhibits > fetching of missing objects. This is equivalent to setting > fetch_is_missing to 0, calling oid_object_info_extended(), then setting > fetch_if_missing to whatever

Re: [PATCH v2 1/2] sha1-file: support OBJECT_INFO_FOR_PREFETCH

2019-04-05 Thread Johannes Schindelin
Hi Jonathan, On Fri, 29 Mar 2019, Jonathan Tan wrote: > Teach oid_object_info_extended() to support a new flag that inhibits > fetching of missing objects. This is equivalent to setting > fetch_is_missing to 0, calling oid_object_info_extended(), then setting > fetch_if_missing to whatever it was

[PATCH v2 1/2] sha1-file: support OBJECT_INFO_FOR_PREFETCH

2019-03-29 Thread Jonathan Tan
Teach oid_object_info_extended() to support a new flag that inhibits fetching of missing objects. This is equivalent to setting fetch_is_missing to 0, calling oid_object_info_extended(), then setting fetch_if_missing to whatever it was before. Update unpack-trees.c to use this new flag instead of r