On Sun, Mar 23, 2008 at 5:08 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > > * gs/pretty-hexval (Fri Mar 21 10:05:06 2008 -0500) 1 commit > + pretty.c: add %x00 format specifier. > > Adds a generic "insert any byte value" to --pretty=format:<> specifier. > I also sent out the following patch that could be put in instead of or in addition to this one. The both solve my problem in different ways. Thanks, Govind. --- From: Govind Salinas <blix@xxxxxxxxxxxxxxxxx> Date: Sun, 23 Mar 2008 16:02:11 -0500 Subject: [PATCH] log-tree.c: Make log_tree_diff_flush() honor line_termination. Signed-off-by: Govind Salinas <blix@xxxxxxxxxxxxxxxxx> --- log-tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/log-tree.c b/log-tree.c index 608f697..5f55683 100644 --- a/log-tree.c +++ b/log-tree.c @@ -338,7 +338,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.4.4.550.g77e21.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html