Re: [RFC PATCH v1 4/6] stash: remove the second index in save_untracked_files()
On Tue, May 5, 2020 at 12:56 PM Alban Gruin <alban.gruin@gmail.com> wrote:
Show 8 quoted lines
>
> 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.