Code

wt-status: remove extraneous newline from 'deleted:' output
authorJeff King <peff@peff.net>
Wed, 13 Sep 2006 22:37:14 +0000 (18:37 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 14 Sep 2006 06:37:57 +0000 (23:37 -0700)
This was accidentally introduced during the fixes to avoid putting newlines
inside of colorized output.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
wt-status.c

index c644331b127e9f4321d916f474ac796b8ab2a9bf..4b74e6858400108fe4967cfd371d20915d806379 100644 (file)
@@ -78,7 +78,7 @@ static void wt_status_print_filepair(int t, struct diff_filepair *p)
                                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: