threads / patch / 5553

patchwt-status: remove extraneous newline from 'deleted:' output

Subject: [PATCH] wt-status: remove extraneous newline from 'deleted:' output

## tl;dr

One message between Sep 13, 2006 and Sep 13, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jeff King· Sep 13, 2006, 22:37 UTC · lore

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(-)
Show changes to wt-status.c +1 −1
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

← back to recent threads