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
/
t7501-commit.sh
diff --git
a/t/t7501-commit.sh
b/t/t7501-commit.sh
index 4cae92804d11f75f24bdd6f6517a88c834e7cfc7..cf2a4c5392f985b707b3d0741f806cfb7d1c7665 100755
(executable)
--- a/
t/t7501-commit.sh
+++ b/
t/t7501-commit.sh
@@
-682,4
+682,10
@@
test_expect_success '--dry-run with conflicts fixed from a merge' '
git commit -m "conflicts fixed from merge."
'
+test_expect_failure '--dry-run --short' '
+ >test-file &&
+ git add test-file &&
+ git commit --dry-run --short
+'
+
test_done