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>
This commit is contained in:
parent
825cee7b28
commit
e54eef9e1f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user