From 3368d11f308eb4ba2ad5703aa059bb0e5a82212f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20R=C3=BChle?= Date: Sun, 7 Jan 2007 20:18:26 +0100 Subject: [PATCH] Remove unnecessary git-rm --cached reference from status output MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since git-reset has learned restoring the absence of paths git-rm --cached is no longer necessary. Therefore remove it from the cached content header hint. Also remove the unfortunate wording 'Cached' from the header itself. Signed-off-by: Jürgen Rühle Signed-off-by: Junio C Hamano --- wt-status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wt-status.c b/wt-status.c index 8aac52644..c48127dac 100644 --- a/wt-status.c +++ b/wt-status.c @@ -56,9 +56,9 @@ void wt_status_prepare(struct wt_status *s) static void wt_status_print_cached_header(const char *reference) { const char *c = color(WT_STATUS_HEADER); - color_printf_ln(c, "# Cached changes to be committed:"); + color_printf_ln(c, "# Changes to be committed:"); if (reference) { - color_printf_ln(c, "# (use \"git reset %s ...\" and \"git rm --cached ...\" to unstage)", reference); + color_printf_ln(c, "# (use \"git reset %s ...\" to unstage)", reference); } else { color_printf_ln(c, "# (use \"git rm --cached ...\" to unstage)"); } -- 2.45.2