Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [RFC PATCH] rerere: fix overeager gc

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:49:04

Am 7/1/2010 18:27, schrieb Junio C Hamano:
Johannes Sixt [off-list ref] writes:
quoted
Would it be possible to update the timestamp of preimage every time it is
used (e.g., in rerere.c:merge()), and check for that?
It would be _possible_, but we are _not_ modifying the file at that point,
so somehow that solution feels very wrong, no?
rr-cache is basically a static database. The fact that we have a file
named 'thisimage' is just an abuse - to put a temporary file somewhere.
Therefore, depending on lockfile infrastructure to change timestamps for
us while manipulating 'thisimage' should feel no less wrong, don't you
think so?

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help