Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] make sure packs to be replaced are closed beforehand

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:45

Johannes Sixt [off-list ref] writes:
Nicolas Pitre schrieb:
quoted
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.
...
quoted
OK, here it is at last.  Please confirm it works on Windows before Junio 
merges it.
I can confirm that this patch fixes t5303 on Windows (MinGW).
Thanks; it is a bit too late for tonight, but it will appear in tomorrow's
'master'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help