Browse Source

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>
maint
Ryan Anderson 19 years ago committed by Junio C Hamano
parent
commit
1dcb69224c
  1. 2
      log-tree.c

2
log-tree.c

@ -59,7 +59,7 @@ void show_log(struct rev_info *opt, const char *sep) @@ -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;
}


Loading…
Cancel
Save