git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] log-tree.c: Make log_tree_diff_flush() honor line_termination.
@ 2008-04-22  2:18 Govind Salinas
  2008-04-22  2:58 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Govind Salinas @ 2008-04-22  2:18 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano

Signed-off-by: Govind Salinas <blix@sophiasuchtig.com>
---
I sent this in a few weeks ago, but it was not eligible for inclusion on 1.5.5.
There was some discussion but I was never sure if the patch was acceptable
to everyone.  I would like to know if this could be done for the next version?


 log-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/log-tree.c b/log-tree.c
index 5b29639..374b277 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -347,7 +347,7 @@ int log_tree_diff_flush(struct rev_info *opt)
 			int pch = DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH;
 			if ((pch & opt->diffopt.output_format) == pch)
 				printf("---");
-			putchar('\n');
+			putchar(opt->diffopt.line_termination);
 		}
 	}
 	diff_flush(&opt->diffopt);
-- 
1.5.5.rc2.131.g3d2f

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-22  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22  2:18 [PATCH] log-tree.c: Make log_tree_diff_flush() honor line_termination Govind Salinas
2008-04-22  2:58 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).