On Tue, 12 Jun 2012, Andreas Schwab wrote:
Jeff King [off-list ref] writes:
quoted
We could close it in both cases by tweaking the mtime of the file
containing the object when we decide not to write because the object
already exists.
Though there is always the window between the existence check and the
mtime update where pruning can hit you.
This is a tiny window compared to 2 weeks.
This could be avoided entirely with:
1. check presence of object X
2. update its mtime
3. check presence of object X again
4. create if doesn't exist
Nicolas