From: Eric Sunshine Date: Fri, 03 May 2013 12:37:40 GMT Subject: Re: [PATCH v3 2/4] fetch-pack: prepare updated shallow file before fetching the pack Message-ID: In-Reply-To: <1367584514-19806-3-git-send-email-pclouds@gmail.com> On Fri, May 3, 2013 at 8:35 AM, Nguyễn Thái Ngọc Duy wrote: > index-pack --strict looks up and follows parent commits. If shallow > information is not ready by the time index-pack is run, index-pack may > be lead to non-existent objects. Make fetch-pack save shallow file to s/lead/led/ > disk before invoking index-pack. > > git learns new global option --shallow-file to pass on the alternate > shallow file path. Undocumented (and not even support --shallow-file= > syntax) because it's unlikely to be used again elsewhere. > > Signed-off-by: Nguyễn Thái Ngọc Duy