Re: [PATCH v3 3/4] Add a function to release all packs

2015-10-08 Thread Johannes Schindelin
Hi Junio, On 2015-10-07 19:49, Junio C Hamano wrote: > Johannes Schindelin writes: > >> On Windows, files that are in use cannot be removed or renamed. That >> means that we have to release pack files when we are about to, say, >> repack them. Let's introduce a

Re: [PATCH v3 3/4] Add a function to release all packs

2015-10-07 Thread Junio C Hamano
Johannes Schindelin writes: > On Windows, files that are in use cannot be removed or renamed. That > means that we have to release pack files when we are about to, say, > repack them. Let's introduce a convenient function to close them > pack files. > > While at it,

[PATCH v3 3/4] Add a function to release all packs

2015-10-06 Thread Johannes Schindelin
On Windows, files that are in use cannot be removed or renamed. That means that we have to release pack files when we are about to, say, repack them. Let's introduce a convenient function to close them pack files. While at it, we consolidate the close windows/close fd/close index stanza in