Safety for "stash save"
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | treat_directory(): do not declare submodules to be untrackeddir.c t/ | +21 | 0 replies | |
| 2/2 | git stash: avoid data loss when "git stash save" kills a directoryDocumentation/ git-stash.sh t/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Safety for "stash save"
The second patch is the real thing, but "ls-files --killed" needed to be taught about submodules to avoid breaking "stash save" in a repository with submodules, as the new safety uses it to detect what will need to be killed (i.e. file D/F in the working tree getting removed because we need to check out D as a file, or file D in the working tree getting removed because we need to check out D/F as a file) when reverting to the state in HEAD.
Junio C Hamano (1):
treat_directory(): do not declare submodules to be untracked
Petr Baudis (1):
git stash: avoid data loss when "git stash save" kills a directory
Documentation/git-stash.txt | 12 ++++++++++-- dir.c | 4 +--- git-stash.sh | 12 ++++++++++++ t/t3010-ls-files-killed-modified.sh | 23 ++++++++++++++++++++--- t/t3903-stash.sh | 18 ++++++++++++++++++ 5 files changed, 61 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.3.2-798-g923e168