On Fri, 15 Apr 2005, Linus Torvalds wrote:
> (This is also why we should write to a temp-file and then do an atomic
> "rename()").

Btw, before anybody asks: I do _not_ think that we should do fsync() etc. 
We don't actually destroy any old state when we write a new object, so 
even if the machine does go down, we really should just do an fsck and 
then re-try the operation. 

Anal people (or people with machines that crash) can add it later if they 
really want.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to