@matheusbsbs / matheus-bagliano / commits / 3368d11f30
Fork 0

Remove unnecessary git-rm --cached reference from status output

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 <j-r@online.de> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jürgen Rühle committed Jan 7, 2007 at 20:18 UTC 3368d11f308eb4ba2ad5703aa059bb0e5a82212f
1 file changed +2 -2
wt-status.c
+2 -2
@@ -56,9 +56,9 @@ void wt_status_prepare(struct wt_status *s)
56 static void wt_status_print_cached_header(const char *reference)
57 {
58 const char *c = color(WT_STATUS_HEADER);
59 - color_printf_ln(c, "# Cached changes to be committed:");
59 + color_printf_ln(c, "# Changes to be committed:");
60 if (reference) {
61 - color_printf_ln(c, "# (use \"git reset %s <file>...\" and \"git rm --cached <file>...\" to unstage)", reference);
61 + color_printf_ln(c, "# (use \"git reset %s <file>...\" to unstage)", reference);
62 } else {
63 color_printf_ln(c, "# (use \"git rm --cached <file>...\" to unstage)");
64 }