log-tree: use custom line terminator in line termination mode
[gitweb.git] / log-tree.c
index e9457019d5ac7aff1e185e195f37b851732f6210..f4e2ba369f8a43ca9a19ace6e8b820735fab9c6f 100644 (file)
@@ -513,7 +513,7 @@ void show_log(struct rev_info *opt)
        if (opt->use_terminator) {
                if (!opt->missing_newline)
                        graph_show_padding(opt->graph);
-               putchar('\n');
+               putchar(opt->diffopt.line_termination);
        }
 
        strbuf_release(&msgbuf);