diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-03-21 22:12:19 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-22 14:55:56 -0700 |
commit | e0e7f99ea400808cd11af72425c721c8b44193ca (patch) | |
tree | 74d382c2a274fc8f897a31ba071bfcc2cc507e44 /t/t6012-rev-list-simplify.sh | |
parent | stash: pass the pathspec argument to git reset (diff) | |
download | tgif-e0e7f99ea400808cd11af72425c721c8b44193ca.tar.xz |
stash: keep untracked files intact in stash -k
Currently when there are untracked changes in a file "one" and in a file
"two" in the repository and the user uses:
git stash push -k one
all changes in "two" are wiped out completely. That is clearly not the
intended result. Make sure that only the files given in the pathspec
are changed when git stash push -k <pathspec> is used.
Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6012-rev-list-simplify.sh')
0 files changed, 0 insertions, 0 deletions