Merge branch 'jk/log-warn-on-bogus-encoding'
Squelch over-eager warning message added during this cycle. * jk/log-warn-on-bogus-encoding: log: document --encoding behavior on iconv() failure Revert "logmsg_reencode(): warn when iconv() fails"
This commit is contained in:
6
pretty.c
6
pretty.c
@ -671,11 +671,7 @@ const char *repo_logmsg_reencode(struct repository *r,
|
||||
* If the re-encoding failed, out might be NULL here; in that
|
||||
* case we just return the commit message verbatim.
|
||||
*/
|
||||
if (!out) {
|
||||
warning("unable to reencode commit to '%s'", output_encoding);
|
||||
return msg;
|
||||
}
|
||||
return out;
|
||||
return out ? out : msg;
|
||||
}
|
||||
|
||||
static int mailmap_name(const char **email, size_t *email_len,
|
||||
|
||||
Reference in New Issue
Block a user