Git development
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: [PATCH] wt-status: remove extraneous newline from 'deleted:' output
Date: Wed, 13 Sep 2006 18:37:14 -0400	[thread overview]
Message-ID: <20060913223713.GA6406@coredump.intra.peff.net> (raw)

This was accidentally introduced during the fixes to avoid putting newlines
inside of colorized output.

Signed-off-by: Jeff King <peff@peff.net>
---
 wt-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wt-status.c b/wt-status.c
index ec2c728..c90aade 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -77,7 +77,7 @@ static void wt_status_print_filepair(int
 				p->one->path, p->two->path);
 		break;
 	case DIFF_STATUS_DELETED:
-		color_printf_ln(c, "deleted: %s", p->one->path); break;
+		color_printf(c, "deleted: %s", p->one->path); break;
 	case DIFF_STATUS_MODIFIED:
 		color_printf(c, "modified: %s", p->one->path); break;
 	case DIFF_STATUS_RENAMED:
-- 
1.4.2.gd89c-dirty

                 reply	other threads:[~2006-09-13 22:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060913223713.GA6406@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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