summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3098830)
raw | patch | inline | side by side (parent: 3098830)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Dec 2009 08:18:12 +0000 (00:18 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Dec 2009 09:21:38 +0000 (01:21 -0800) |
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>
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>
t/t7060-wtstatus.sh | patch | blob | history | |
wt-status.c | patch | blob | history |
diff --git a/t/t7060-wtstatus.sh b/t/t7060-wtstatus.sh
index 7b5db8066fbb7113f4e97f2987cee6c4ed913c41..0919ec46f67d47f536c2fe68c783e02aeb384c86 100755 (executable)
--- a/t/t7060-wtstatus.sh
+++ b/t/t7060-wtstatus.sh
# On branch side
# Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
-# (use "git add <file>..." to mark resolution)
+# (use "git add/rm <file>..." as appropriate to mark resolution)
#
# deleted by us: foo
#
diff --git a/wt-status.c b/wt-status.c
index 3fdcf97e1132fdcee7be9af4665a746a17933a0b..56cd8741c0ea0335f0f6e0563d69972916587cd4 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
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, "#");
}