public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ryan Anderson <ryan@michonline•com>
To: junkio@cox•net
Cc: git@vger•kernel.org, Jeff King <peff@peff•net>,
	Ryan Anderson <ryan@michonline•com>
Subject: [PATCH 1/2] log-tree: show_log() should respect the setting of diffopt->line_termination
Date: Mon,  7 Aug 2006 05:11:23 -0700	[thread overview]
Message-ID: <1154952684908-git-send-email-ryan@michonline.com> (raw)
In-Reply-To: <20060807115000.GC15477@h4x0r5.com>

Signed-off-by: Ryan Anderson <ryan@michonline•com>
---
 log-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/log-tree.c b/log-tree.c
index b67b8dd..05ede0c 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -59,7 +59,7 @@ void show_log(struct rev_info *opt, cons
 		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;
 	}
 
-- 
1.4.2.rc3.g6487-dirty

  reply	other threads:[~2006-08-07 12:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-03 20:38 git-annotate bug report Jeff King
2006-08-03 21:10 ` Ryan Anderson
2006-08-07 11:50 ` Ryan Anderson
2006-08-07 12:11   ` Ryan Anderson [this message]
2006-08-07 12:11     ` [PATCH 2/2] annotate: Fix bug when parsing merges with differing real and logical parents Ryan Anderson
2006-08-07 19:16       ` Junio C Hamano
2006-08-07 19:45         ` Ryan Anderson
2006-08-07 20:00         ` Annotate another problem report Junio C Hamano
2006-08-07 20:19           ` Ryan Anderson
2006-08-07 19:38     ` [PATCH 1/2] log-tree: show_log() should respect the setting of diffopt->line_termination Junio C Hamano
2006-08-08  8:49   ` git-annotate bug report Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1154952684908-git-send-email-ryan@michonline.com \
    --to=ryan@michonline$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=junkio@cox$(echo .)net \
    --cc=peff@peff$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox