diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-23 01:41:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-23 01:41:14 +0300 |
commit | 3ea3860758cc2501388059a89c1e5f4a90acb50d (patch) | |
tree | b18542e5728cfa6ac26edc7c8563a961571b4f93 /t | |
parent | 02fedc0f4835de7414b78e21739464a29520c94a (diff) | |
parent | 4c28e4ada03f5440251545cf91e0d81bce9b010d (diff) |
Merge branch 'jk/commit-die-on-bogus-ident'
* jk/commit-die-on-bogus-ident:
commit: die before asking to edit the log message
ident: die on bogus date format
Conflicts:
builtin/commit.c
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 && |