Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clean up name allocation in prepare_revision_walk
[gitweb.git]
/
t
/
t0090-cache-tree.sh
diff --git
a/t/t0090-cache-tree.sh
b/t/t0090-cache-tree.sh
index 48c42409d2f0bbc17fa54472b046b968434c2a93..f9648a86426470785159b5132305a256c80b5ca4 100755
(executable)
--- a/
t/t0090-cache-tree.sh
+++ b/
t/t0090-cache-tree.sh
@@
-210,4
+210,12
@@
test_expect_success 'partial commit gives cache-tree' '
test_cache_tree
'
+test_expect_success 'no phantom error when switching trees' '
+ mkdir newdir &&
+ >newdir/one &&
+ git add newdir/one &&
+ git checkout 2>errors &&
+ ! test -s errors
+'
+
test_done