summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorRyan Anderson <ryan@michonline.com>2006-08-07 05:11:23 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-07 11:38:53 -0700
commit1dcb69224ca4da3d97c502de88de73ec4b362082 (patch)
tree348975917bfd9a37ed93501ae4bfd6ae6f908162 /log-tree.c
parentb20805af603380c3abfc1b2e7859d28185e397f1 (diff)
downloadgit-1dcb69224ca4da3d97c502de88de73ec4b362082.tar.gz
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>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index b67b8dd17a..05ede0c175 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;
}