From: Alban Gruin Date: Fri, 31 Jul 2020 16:16:55 GMT Subject: Re: [PATCH v2 5/6] stash: remove the second index in restore_untracked() Message-ID: <3418c670-31cb-4b98-37b1-5e2233a2c856@gmail.com> In-Reply-To: Hi Christian, Le 31/07/2020 à 15:45, Christian Couder a écrit : > On Tue, Jun 30, 2020 at 5:16 PM Alban Gruin 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. > I mean "when it exits", as in the previous commits. Alban