log-tree: show_log() should respect the setting of diffopt->line_termination

Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Ryan Anderson 2006-08-07 05:11:23 -07:00 committed by Junio C Hamano
parent b20805af60
commit 1dcb69224c

View File

@ -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;
}