summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-08-24 12:05:08 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-08-24 12:05:08 -0700
commit9e0833c30e1afef7dcffe2c151d0545ecdc730bf (patch)
tree6c99ce4d871699425945723fa59d2b221d6665a8
parentMake the ciabot scripts completely self-configuring in the normal case. (diff)
parentcommit: check committer identity more strictly (diff)
downloadtgif-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 95eeab1d51..20cef95d60 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)