From: Junio C Hamano Date: Thu, 05 Feb 2009 17:45:06 GMT Subject: Re: [PATCH/RFC v3 7/9] write_entry(): use fstat() instead of lstat() when file is open Message-ID: <7veiyceq1p.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > Of course, what we _really_ would do is to provide a flag, say, > FSTAT_UNRELIABLE and test for _that_ (after defining it in the Makefile > for the appropriate platforms). Sounds sensible. POSIX of course requires write(), pwrite() and friends to mark the mtime for update and fstat() to be reliable, but there may be "not quite POSIX" systems.