]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Clarify syntax and role of git-add in status output
authorJürgen Rühle <j-r@online.de>
Tue, 2 Jan 2007 19:26:20 +0000 (20:26 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Jan 2007 07:41:12 +0000 (23:41 -0800)
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>
wt-status.c

index db427384ff454aa07e38c588537cbaa6b835dee6..34be91b77c2391ad803bedb82c9fd9b28c59751a 100644 (file)
@@ -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)
 {