Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stash: prefer plumbing over git-diff
[gitweb.git]
/
t
/
t3903-stash.sh
diff --git
a/t/t3903-stash.sh
b/t/t3903-stash.sh
index 2142c1fa92017bc47cfc4ccb1f25e16fc0eec1a4..ca2a6c1bccfc02a7c7a8b4b7963b80316258ed77 100755
(executable)
--- a/
t/t3903-stash.sh
+++ b/
t/t3903-stash.sh
@@
-731,4
+731,13
@@
test_expect_success 'stash list --cc shows combined diff' '
test_cmp expect actual
'
+test_expect_success 'stash is not confused by partial renames' '
+ mv file renamed &&
+ git add renamed &&
+ git stash &&
+ git stash apply &&
+ test_path_is_file renamed &&
+ test_path_is_missing file
+'
+
test_done