<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Fix detection of file modification when editing single



On Friday, August 31 at 02:03 PM, quoth Rocco Rutte:
A minor nit: shouldn't it also be resetting the mtime to what it was in case of no changes being made? I can't come up with a practical example where this could break something though...

Not really - this is a temporary file. If no changes are made, the temporary file is *deleted*, and a deleted file with the wrong mtime is just as gone as one with the right mtime.

~Kyle
--
We all grow up with the weight of history on us. Our ancestors dwell in the attics of our brains as they do in the spiraling chains of knowledge hidden in every cell of our bodies.
                                                     -- Shirley Abbott

Attachment: pgplTLpDSSgz8.pgp
Description: PGP signature