Browse Source

Clarify git status output.

What we list as "Ignored files" are not "ignored".  Rather, it
is the list of "not listed in the to-be-ignored files, but
exists -- you may be forgetting to add them".

Pointed out by Daniel.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
38cc7ab814
  1. 2
      git-status.sh

2
git-status.sh

@ -90,7 +90,7 @@ perl -e '$/ = "\0"; @@ -90,7 +90,7 @@ perl -e '$/ = "\0";
s|\n|\\n|g;
s/^/# /;
if (!$shown) {
print "#\n# Ignored files:\n";
print "#\n# Untracked files:\n";
print "# (use \"git add\" to add to commit)\n#\n";
$shown = 1;
}

Loading…
Cancel
Save