Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-23 01:41:14 +0300
committerJunio C Hamano <gitster@pobox.com>2010-12-23 01:41:14 +0300
commit3ea3860758cc2501388059a89c1e5f4a90acb50d (patch)
treeb18542e5728cfa6ac26edc7c8563a961571b4f93 /t
parent02fedc0f4835de7414b78e21739464a29520c94a (diff)
parent4c28e4ada03f5440251545cf91e0d81bce9b010d (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-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 &&