summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJürgen Rühle <j-r@online.de>2007-01-07 20:18:26 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-07 18:04:57 -0800
commit3368d11f308eb4ba2ad5703aa059bb0e5a82212f (patch)
tree47cbe9ac73cbf8df422fef0e52eeb94e833688f0 /wt-status.c
parent515377ea9ec6192f82a2fa5c5b5b7651d9d6cf6c (diff)
downloadgit-3368d11f308eb4ba2ad5703aa059bb0e5a82212f.tar.gz
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>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wt-status.c b/wt-status.c
index 8aac526440..c48127daca 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 <file>...\" and \"git rm --cached <file>...\" to unstage)", reference);
+ color_printf_ln(c, "# (use \"git reset %s <file>...\" to unstage)", reference);
} else {
color_printf_ln(c, "# (use \"git rm --cached <file>...\" to unstage)");
}