Merge branch 'jc/prune-all'
[gitweb.git] / builtin / commit.c
index 46204375e786ea583ca1a7eabc3060611adc3d04..d2f30d960a71e41da88d6cc4201cbdca168b8648 100644 (file)
@@ -955,7 +955,7 @@ static const char *read_commit_message(const char *name)
        if (!commit)
                die(_("could not lookup commit %s"), name);
        out_enc = get_commit_output_encoding();
-       return logmsg_reencode(commit, out_enc);
+       return logmsg_reencode(commit, NULL, out_enc);
 }
 
 static int parse_and_validate_options(int argc, const char *argv[],