Re: [GSoC] Designing a faster index format
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Apr 6, 2012, 15:44 UTC
- Message-ID
- <CACsJy8AkFiiaKnqqyLEZfa+DJsRyKd6dGEN71c3q=6j3fo8jww@mail.gmail.com>
- In-Reply-To
- <878vi8sx1x.fsf@thomas.inf.ethz.ch>
On Fri, Apr 6, 2012 at 10:24 PM, Thomas Rast <trast@student.ethz.ch> 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