projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'hv/link-alt-odb-entry' into maint
[git.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 9ed36c7db5ee0d2e820a01b27507c4ab0afe9663..8248a994a50ab91874600567e544aa3735e4aa98 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-1154,9
+1154,9
@@
int commit_tree_extended(const struct strbuf *msg, unsigned char *tree,
/* Person/date information */
if (!author)
/* Person/date information */
if (!author)
- author = git_author_info(IDENT_
ERROR_ON_NO_NAME
);
+ author = git_author_info(IDENT_
STRICT
);
strbuf_addf(&buffer, "author %s\n", author);
strbuf_addf(&buffer, "author %s\n", author);
- strbuf_addf(&buffer, "committer %s\n", git_committer_info(IDENT_
ERROR_ON_NO_NAME
));
+ strbuf_addf(&buffer, "committer %s\n", git_committer_info(IDENT_
STRICT
));
if (!encoding_is_utf8)
strbuf_addf(&buffer, "encoding %s\n", git_commit_encoding);
if (!encoding_is_utf8)
strbuf_addf(&buffer, "encoding %s\n", git_commit_encoding);