summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJürgen Rühle <j-r@online.de>2007-01-02 19:26:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-03 07:41:12 (GMT)
commite54eef9e1f8adb055c7bbe0e4f50a3716f611dcf (patch)
tree37c77d8af5fcec17ac5dcb6817ff980b105fd0e0 /wt-status.c
parent825cee7b285d9c733e9aec03cf4362e8029ee1c1 (diff)
downloadgit-e54eef9e1f8adb055c7bbe0e4f50a3716f611dcf.zip
git-e54eef9e1f8adb055c7bbe0e4f50a3716f611dcf.tar.gz
git-e54eef9e1f8adb055c7bbe0e4f50a3716f611dcf.tar.bz2
Clarify syntax and role of git-add in status output
This uses the actual (simplified) synopsis line from the git-add man page and advertises its incremental nature. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index db42738..34be91b 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -15,7 +15,7 @@ static char wt_status_colors[][COLOR_MAXLEN] = {
"\033[31m", /* WT_STATUS_CHANGED: red */
"\033[31m", /* WT_STATUS_UNTRACKED: red */
};
-static const char* use_add_msg = "use \"git add file1 file2\" to include for commit";
+static const char* use_add_msg = "use \"git add <file>...\" to incrementally add content to commit";
static int parse_status_slot(const char *var, int offset)
{