@matheusbsbs / matheus-bagliano / commits / 75609a0d44
Fork 0

git-ls-files.txt: clarify -x/--exclude option

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>

Jay Soffian committed Sep 15, 2010 at 19:56 UTC 75609a0d44d02878e6260a7a4bf2dda5310a9dd9
1 file changed +3 -2
Documentation/git-ls-files.txt
+3 -2
@@ -79,8 +79,9 @@ OPTIONS
79
80 -x <pattern>::
81 --exclude=<pattern>::
82 - Skips files matching pattern.
83 - Note that pattern is a shell wildcard pattern.
82 + Skips untracked files matching pattern.
83 + Note that pattern is a shell wildcard pattern. See EXCLUDE PATTERNS
84 + below for more information.
85
86 -X <file>::
87 --exclude-from=<file>::