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 | 359f34f6cc948a2ddd2c99239f24a78d560bafd0 (diff) | |
parent | 4c28e4ada03f5440251545cf91e0d81bce9b010d (diff) | |
download | git-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-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 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 && |