From: Ryan Anderson Date: Mon, 7 Aug 2006 12:11:23 +0000 (-0700) Subject: log-tree: show_log() should respect the setting of diffopt->line_termination X-Git-Tag: v1.4.2-rc4~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1dcb69224ca4da3d97c502de88de73ec4b362082;p=git.git log-tree: show_log() should respect the setting of diffopt->line_termination Signed-off-by: Ryan Anderson Signed-off-by: Junio C Hamano --- diff --git a/log-tree.c b/log-tree.c index b67b8dd17..05ede0c17 100644 --- a/log-tree.c +++ b/log-tree.c @@ -59,7 +59,7 @@ void show_log(struct rev_info *opt, const char *sep) fputs(diff_unique_abbrev(commit->object.sha1, abbrev_commit), stdout); if (opt->parents) show_parents(commit, abbrev_commit); - putchar('\n'); + putchar(opt->diffopt.line_termination); return; }