remote-helpers: tests: general improvements
[gitweb.git] / revision.c
index 56d666d69a8a961d33651c0658f7009967e0b7ab..a67b615bfc7001ac28e339db1d91ea46a1b125b5 100644 (file)
@@ -2292,7 +2292,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)