aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-08-24 12:05:08 -0700
committerJunio C Hamano <gitster@pobox.com>2012-08-24 12:05:08 -0700
commit9e0833c30e1afef7dcffe2c151d0545ecdc730bf (patch)
tree6c99ce4d871699425945723fa59d2b221d6665a8
parentdf1effa6909d07c859e4ade03dbea3e32e5595b4 (diff)
parentf20f3878ac95e254ec6fd22b63cfb6eda67e5ded (diff)
downloadgit-9e0833c30e1afef7dcffe2c151d0545ecdc730bf.tar.gz
git-9e0833c30e1afef7dcffe2c151d0545ecdc730bf.tar.xz
Merge branch 'jk/maint-commit-check-committer-early' into maint-1.7.11
* jk/maint-commit-check-committer-early: commit: check committer identity more strictly
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 95eeab1d5..20cef95d6 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -725,7 +725,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
strbuf_release(&sb);
/* This checks if committer ident is explicitly given */
- strbuf_addstr(&committer_ident, git_committer_info(0));
+ strbuf_addstr(&committer_ident, git_committer_info(IDENT_STRICT));
if (use_editor && include_status) {
char *ai_tmp, *ci_tmp;
if (whence != FROM_COMMIT)