Git development
 help / color / mirror / Atom feed
* [PATCH] wt-status: remove extraneous newline from 'deleted:' output
@ 2006-09-13 22:37 Jeff King
  0 siblings, 0 replies; only message in thread
From: Jeff King @ 2006-09-13 22:37 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-13 22:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13 22:37 [PATCH] wt-status: remove extraneous newline from 'deleted:' output Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox