From: Alex Riesen Date: Tue, 09 Dec 2008 19:33:30 GMT Subject: Re: [PATCH] make sure packs to be replaced are closed beforehand Message-ID: <20081209193330.GA8877@blimp.localdomain> In-Reply-To: Nicolas Pitre, Tue, Dec 09, 2008 20:26:52 +0100: > Especially on Windows where an opened file cannot be replaced, make > sure pack-objects always close packs it is about to replace. Even on > non Windows systems, this could save potential bad results if ever > objects were to be read from the new pack file using offset from the old > index. > > This should fix t5303 on Windows. > > Signed-off-by: Nicolas Pitre > --- ... > OK, here it is at last. Please confirm it works on Windows before Junio > merges it. > Will do in about 16 hours.