From: Christian Couder Date: Sat, 13 Jun 2020 18:51:31 GMT Subject: Re: [RFC PATCH v1 4/6] stash: remove the second index in save_untracked_files() Message-ID: In-Reply-To: <20200505104849.13602-5-alban.gruin@gmail.com> On Tue, May 5, 2020 at 12:56 PM Alban Gruin wrote: > > This removes the second index used in save_untracked_files(). > > This functions creates a new commit with no parents, and a tree > containing only untracked files, so the tree is reset to the empty tree > at the beginning (hence the need for reset_tree() to accept constant > trees). The environment of `update-index' is no longer updated, and the > index is discarded after this command exited. Maybe s/exited/exits/.