Multiple files may be in the same repository. Would it be better to check out all the entries and then just doing one write operation against the index?

If one checkout succeeds and another fails, we'd still want to write the "partially modified" index though, I think?