Re: [PATCH 00/14] Introduce a tempfile module

2015-06-10 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: These patches are also available from my GitHub repo [2], branch tempfile. Overall the series made a lot of sense. On a few points I raised: - I still think that exposing the implementation detail of the lockfile API that it builds on

[PATCH 00/14] Introduce a tempfile module

2015-06-08 Thread Michael Haggerty
We have spent a lot of effort defining the state diagram for lockfiles and ensuring correct, race-resistant cleanup in all circumstances. Now let's abstract out part of the lockfile module so that it can be used to clean up arbitrary temporary files. This patch series * implements a new tempfile