On 9/7/2021 9:43 PM, Elijah Newren via GitGitGadget wrote:
From: Elijah Newren <redacted>
If a user deletes a file and places a directory of untracked files
there, then stashes all these changes, the untracked directory of files
cannot be restored until after the corresponding file in the way is
removed. So, restore changes to tracked files before restoring
untracked files.
There is no similar problem to worry about in the opposite directory,
s/directory/direction/ ?
because untracked files are always additive. Said another way, there's
no way to "stash a removal of an untracked file" because if an untracked
file is removed, git simply doesn't know about it.
Makes sense.
Thanks,
-Stolee