Skip to content

Commit

Permalink
git-ls-files.txt: clarify -x/--exclude option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jay Soffian authored and Junio C Hamano committed Sep 16, 2010
1 parent 500348a commit 75609a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
@@ -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>::

0 comments on commit 75609a0

Please sign in to comment.