Code

git-ls-files.txt: clarify -x/--exclude option
authorJay Soffian <jaysoffian@gmail.com>
Wed, 15 Sep 2010 23:56:48 +0000 (19:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Sep 2010 00:30:36 +0000 (17:30 -0700)
Since b5227d8, -x/--exclude does not apply to cached files.
This is easy to miss unless you read the discussion in the
EXCLUDE PATTERNS section. Clarify that the option applies
to untracked files and direct the reader to EXCLUDE PATTERNS.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-files.txt

index 89859153f3efec4f63c45e539cc5091ebf2d9dc9..c05e7a5e7011f46d4590ba3ccdf7a92f47bfc0d8 100644 (file)
@@ -79,8 +79,9 @@ OPTIONS
 
 -x <pattern>::
 --exclude=<pattern>::
-       Skips files matching pattern.
-       Note that pattern is a shell wildcard pattern.
+       Skips untracked files matching pattern.
+       Note that pattern is a shell wildcard pattern. See EXCLUDE PATTERNS
+       below for more information.
 
 -X <file>::
 --exclude-from=<file>::