Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7501: add test of "commit --dry-run --short"
[gitweb.git]
/
t
/
t0090-cache-tree.sh
diff --git
a/t/t0090-cache-tree.sh
b/t/t0090-cache-tree.sh
index 9e88a56d619ca33a24089ec1208e6726d76f6256..7de40141ca84dc53657d81c0254870b387339f79 100755
(executable)
--- a/
t/t0090-cache-tree.sh
+++ b/
t/t0090-cache-tree.sh
@@
-156,7
+156,7
@@
test_expect_success PERL 'commit --interactive gives cache-tree on partial commi
return 44;
}
EOT
-
(echo p; echo 1; echo; echo s; echo n; echo y; echo q)
|
+
test_write_lines p 1 "" s n y q
|
git commit --interactive -m foo &&
test_cache_tree
'