Re: [PATCH 1/2] fetch-pack: call prepare_shallow_info only if v0

2019-03-25 Thread Jeff King
On Mon, Mar 25, 2019 at 01:43:22PM -0700, Jonathan Tan wrote: > In fetch_pack(), be clearer that there is no shallow information before > the fetch when v2 is used - memset the struct shallow_info to 0 instead > of calling prepare_shallow_info(). > > This patch is in preparation for a future patc

[PATCH 1/2] fetch-pack: call prepare_shallow_info only if v0

2019-03-25 Thread Jonathan Tan
In fetch_pack(), be clearer that there is no shallow information before the fetch when v2 is used - memset the struct shallow_info to 0 instead of calling prepare_shallow_info(). This patch is in preparation for a future patch in which a v2 fetch might call prepare_shallow_info() after shallow inf