Skip to content

pr-git-1086/newren/stash-df-fixes-v1

This series fixes a few D/F issues in the stash command. These were some
issues I found while working on unintentional removal of untracked
files/directories and the current working directory, and I'm just submitting
them separately.

Elijah Newren (3):
  t3903: document a pair of directory/file bugs
  stash: avoid feeding directories to update-index
  stash: restore untracked files AFTER restoring tracked files

 builtin/stash.c  | 15 ++++++++++++---
 t/t3903-stash.sh | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 3 deletions(-)

base-commit: e0a2f5cbc585657e757385ad918f167f519cfb96

Submitted-As: https://lore.kernel.org/git/pull.1086.git.git.1631065426.gitgitgadget@gmail.com
Assets 2