aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-28 13:45:12 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-28 13:45:12 -0800
commita121d53fa6ce711e695d65ecff300127ff8e1047 (patch)
treeba12dffbf877551bb4a940f68f4455840b7f08a5 /t
parent359f34f6cc948a2ddd2c99239f24a78d560bafd0 (diff)
parent4c28e4ada03f5440251545cf91e0d81bce9b010d (diff)
downloadgit-a121d53fa6ce711e695d65ecff300127ff8e1047.tar.gz
git-a121d53fa6ce711e695d65ecff300127ff8e1047.tar.xz
Merge branch 'jk/commit-die-on-bogus-ident' into maint
* jk/commit-die-on-bogus-ident: commit: die before asking to edit the log message ident: die on bogus date format
Diffstat (limited to 't')
-rwxr-xr-xt/t7501-commit.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh
index 8297cb4f1..8980738c7 100755
--- a/t/t7501-commit.sh
+++ b/t/t7501-commit.sh
@@ -230,6 +230,10 @@ test_expect_success 'amend commit to fix date' '
'
+test_expect_success 'commit complains about bogus date' '
+ test_must_fail git commit --amend --date=10.11.2010
+'
+
test_expect_success 'sign off (1)' '
echo 1 >positive &&