log-tree: show_log() should respect the setting of diffopt->line_termination
[gitweb.git] / builtin-fmt-merge-msg.c
index c84224ee84803cbe4766b9e61da16da718a6eb15..485ede7cad65f7fd69e2dbaff6b32b8ad3051c54 100644 (file)
@@ -1,3 +1,4 @@
+#include "builtin.h"
 #include "cache.h"
 #include "commit.h"
 #include "diff.h"
@@ -242,7 +243,7 @@ static void shortlog(const char *name, unsigned char *sha1,
        free_list(&subjects);
 }
 
-int cmd_fmt_merge_msg(int argc, char **argv, const char *prefix)
+int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
 {
        int limit = 20, i = 0;
        char line[1024];