pretty: save commit encoding from logmsg_reencode if the caller needs it
[gitweb.git] / builtin / blame.c
index 86100e96627e4f839fb5b627bc09ed4264c36176..104a948e0c15361a0d62f85328a225d9ad9a0ec4 100644 (file)
@@ -1425,7 +1425,7 @@ static void get_commit_info(struct commit *commit,
        commit_info_init(ret);
 
        encoding = get_log_output_encoding();
-       message = logmsg_reencode(commit, encoding);
+       message = logmsg_reencode(commit, NULL, encoding);
        get_ac_line(message, "\nauthor ",
                    &ret->author, &ret->author_mail,
                    &ret->author_time, &ret->author_tz);