Skip to content

Commit 9e0833c

Browse files
committed
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
2 parents df1effa + f20f387 commit 9e0833c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
725725
strbuf_release(&sb);
726726

727727
/* This checks if committer ident is explicitly given */
728-
strbuf_addstr(&committer_ident, git_committer_info(0));
728+
strbuf_addstr(&committer_ident, git_committer_info(IDENT_STRICT));
729729
if (use_editor && include_status) {
730730
char *ai_tmp, *ci_tmp;
731731
if (whence != FROM_COMMIT)

0 commit comments

Comments
 (0)