On Fri, Apr 6, 2012 at 10:24 PM, Thomas Rast <trast@xxxxxxxxxxxxxxx> wrote: > But even so: do we make any promises that (say) git-add is atomic in the > sense that a reader always gets the before-update results or the > after-update results? Non-builtins (e.g. git add -p) may make small > incremental updates to the index, so they wouldn't be atomic anyway. Take git-checkout. I'm ok with it writing to worktree all old entries, or all new ones, but please not a mix. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html