Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
strbuf: style fix -- top opening bracket on a separate line
[gitweb.git]
/
t
/
t7501-commit.sh
diff --git
a/t/t7501-commit.sh
b/t/t7501-commit.sh
index f04798f87232fbbf705dd8a24300a76a2a6e435a..94eec83b37f38699af91b3808051515f267f3a5f 100755
(executable)
--- a/
t/t7501-commit.sh
+++ b/
t/t7501-commit.sh
@@
-57,6
+57,7
@@
test_expect_success 'using invalid commit with -C' '
'
test_expect_success 'nothing to commit' '
+ git reset --hard &&
test_must_fail git commit -m initial
'