On Tue, Jun 30, 2020 at 5:16 PM Alban Gruin <alban.gruin@xxxxxxxxx> wrote: > > This removes the second index used in restore_untracked(). > > The call to `read-tree' is replaced by reset_tree() with the appropriate > parameters (no update, no reset). The environment of `checkout-index' > is no longer modified, and the cache is discarded when it exists. Do you mean "when it exits" or "when it exists"? It could be confusing as you use "exit" not "exist" in 2 previous commits.