diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-24 14:05:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-24 14:05:18 -0700 |
commit | 18502e36061bb91131628032b5c46ea4fc8f18a3 (patch) | |
tree | 9bb2428e26d6c2da2d1f0e3255b23353b063dc6b | |
parent | Merge branch 'jk/maint-advise-vaddf' (diff) | |
parent | commit: check committer identity more strictly (diff) | |
download | tgif-18502e36061bb91131628032b5c46ea4fc8f18a3.tar.xz |
Merge branch 'jk/maint-commit-check-committer-early'
"git commit --amend" let the user edit the log message and then died
when the human-readable committer name was given insufficiently by
getpwent(3).
* jk/maint-commit-check-committer-early:
commit: check committer identity more strictly
-rw-r--r-- | builtin/commit.c | 2 |
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) |