diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-28 13:45:12 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-28 13:45:12 -0800 |
commit | a121d53fa6ce711e695d65ecff300127ff8e1047 (patch) | |
tree | ba12dffbf877551bb4a940f68f4455840b7f08a5 /t | |
parent | Merge branch 'ks/blame-worktree-textconv-cached' into maint (diff) | |
parent | commit: die before asking to edit the log message (diff) | |
download | tgif-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-x | t/t7501-commit.sh | 4 |
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 && |