utf8.c: move display_mode_esc_sequence_len() for use by other functions
[gitweb.git] / revision.c
index eb981288686a2c7cd8c854e3f414b606ed4f8c69..d739211f9be0375deb3dbab81d9c0391916dfd65 100644 (file)
@@ -2291,7 +2291,7 @@ static int commit_match(struct commit *commit, struct rev_info *opt)
         * in it.
         */
        encoding = get_log_output_encoding();
-       message = logmsg_reencode(commit, encoding);
+       message = logmsg_reencode(commit, NULL, encoding);
 
        /* Copy the commit to temporary if we are using "fake" headers */
        if (buf.len)