Re: What's cooking in git.git (topics)
- From
- Govind Salinas <blix@sophiasuchtig.com>
- Date
- Mar 23, 2008, 21:06 UTC
- Message-ID
- <5d46db230803231406x132e748bm306494ec5f8dfd2b@mail.gmail.com>
- In-Reply-To
- <7v8x0992hy.fsf@gitster.siamese.dyndns.org>
On Sun, Mar 23, 2008 at 5:08 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> > * 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@sophiasuchtig.com> 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@sophiasuchtig.com> --- 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