summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-28 13:45:12 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-28 13:45:12 -0800
commita121d53fa6ce711e695d65ecff300127ff8e1047 (patch)
treeba12dffbf877551bb4a940f68f4455840b7f08a5 /t
parentMerge branch 'ks/blame-worktree-textconv-cached' into maint (diff)
parentcommit: die before asking to edit the log message (diff)
downloadtgif-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 8297cb4f1e..8980738c75 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 &&