Skip to content

Commit

Permalink
Clarify syntax and role of git-add in status output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jürgen Rühle authored and Junio C Hamano committed Jan 3, 2007
1 parent 825cee7 commit e54eef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wt-status.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e54eef9

Please sign in to comment.