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>
This commit is contained in:
parent
7744f3b888
commit
38cc7ab814
@ -90,7 +90,7 @@ perl -e '$/ = "\0";
|
|||||||
s|\n|\\n|g;
|
s|\n|\\n|g;
|
||||||
s/^/# /;
|
s/^/# /;
|
||||||
if (!$shown) {
|
if (!$shown) {
|
||||||
print "#\n# Ignored files:\n";
|
print "#\n# Untracked files:\n";
|
||||||
print "# (use \"git add\" to add to commit)\n#\n";
|
print "# (use \"git add\" to add to commit)\n#\n";
|
||||||
$shown = 1;
|
$shown = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user