diff options
author | Charles Bailey <charles@hashpling.org> | 2010-04-18 19:27:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-20 10:03:10 -0700 |
commit | 2ba2fe292c13d6442456c1b8a1948bea27992953 (patch) | |
tree | 174c9c7758a181c44ea63bc9f22352dda6e645a7 /builtin-verify-tag.c | |
parent | stash: Don't overwrite files that have gone from the index (diff) | |
download | tgif-2ba2fe292c13d6442456c1b8a1948bea27992953.tar.xz |
stash tests: stash can lose data in a file removed from the index
If a file is removed from the index and then modified in the working
tree then stash will discard the working tree file with no way to
recover the changes.
This can might be done in one of a number of ways.
git rm file
vi file # edit a new version
git stash
or with git mv
git mv file newfile
vi file # make a new file with the old name
git stash
Signed-off-by: Charles Bailey <charles@hashpling.org>
Diffstat (limited to 'builtin-verify-tag.c')
0 files changed, 0 insertions, 0 deletions