Re: [PATCH/RFC] fast-import: Keep a fake pack window on the recently written data
- From
Mike Hommey <mh@glandium.org>
- Date
- Jul 4, 2016, 00:01 UTC
- Message-ID
- <20160704000135.GA9467@glandium.org>
- In-Reply-To
- <20160703234439.8889-1-mh@glandium.org>
On Mon, Jul 04, 2016 at 08:44:39AM +0900, Mike Hommey wrote:
> + /* Ensure a pack window on the data before that, otherwise, > + * use_pack() may try to create a window that overlaps with > + * this one, and that won't work because it won't be complete. */
In fact, there is still a possibility of this happening after that pack window in closed when opening windows on other packs.
Mike