summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-12 08:18:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-12-12 09:21:38 (GMT)
commitdd20f8af1ae54773569b78b1b71d1ea663705d2c (patch)
treeafeb7ae1fcf77dd5ca599d3d88baa7df6b25bc1f /wt-status.c
parent309883015ff3af6ce14ff9fe401e06cfce8adb13 (diff)
downloadgit-dd20f8af1ae54773569b78b1b71d1ea663705d2c.zip
git-dd20f8af1ae54773569b78b1b71d1ea663705d2c.tar.gz
git-dd20f8af1ae54773569b78b1b71d1ea663705d2c.tar.bz2
commit/status: "git add <path>" is not necessarily how to resolve
When the desired resolution is to remove the path, "git rm <path>" is the command the user needs to use. Just like in "Changed but not updated" section, suggest to use "git add/rm" as appropriate. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index 3fdcf97..56cd874 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -52,7 +52,7 @@ static void wt_status_print_unmerged_header(struct wt_status *s)
color_fprintf_ln(s->fp, c, "# (use \"git reset %s <file>...\" to unstage)", s->reference);
else
color_fprintf_ln(s->fp, c, "# (use \"git rm --cached <file>...\" to unstage)");
- color_fprintf_ln(s->fp, c, "# (use \"git add <file>...\" to mark resolution)");
+ color_fprintf_ln(s->fp, c, "# (use \"git add/rm <file>...\" as appropriate to mark resolution)");
color_fprintf_ln(s->fp, c, "#");
}