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
This commit is contained in:
commit
9e0833c30e
@ -725,7 +725,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
|
|||||||
strbuf_release(&sb);
|
strbuf_release(&sb);
|
||||||
|
|
||||||
/* This checks if committer ident is explicitly given */
|
/* 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) {
|
if (use_editor && include_status) {
|
||||||
char *ai_tmp, *ci_tmp;
|
char *ai_tmp, *ci_tmp;
|
||||||
if (whence != FROM_COMMIT)
|
if (whence != FROM_COMMIT)
|
||||||
|
Loading…
Reference in New Issue
Block a user