summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ryan Anderson <ryan@michonline.com>2006-08-07 05:11:23 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-07 11:38:53 -0700
commit1dcb69224ca4da3d97c502de88de73ec4b362082 (patch)
tree348975917bfd9a37ed93501ae4bfd6ae6f908162
parenthandle https:// protocol in git-clone (diff)
downloadtgif-1dcb69224ca4da3d97c502de88de73ec4b362082.tar.xz
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>
-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;
}