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>
Jürgen Rühle committed
Jan 2, 2007 at 20:26 UTC
e54eef9e1f8adb055c7bbe0e4f50a3716f611dcf
1 file changed
+1
-1
wt-status.c
+1
-1
@@ -15,7 +15,7 @@ static char wt_status_colors[][COLOR_MAXLEN] = {
15
"\033[31m", /* WT_STATUS_CHANGED: red */
16
"\033[31m", /* WT_STATUS_UNTRACKED: red */
17
};
18
-static const char* use_add_msg = "use \"git add file1 file2\" to include for commit";
18
+static const char* use_add_msg = "use \"git add <file>...\" to incrementally add content to commit";
19
20
static int parse_status_slot(const char *var, int offset)
21
{