doc: clarify ignore rules for git ls-files
authorAndreas Heiduk <asheiduk@gmail.com>
Thu, 3 May 2018 18:48:26 +0000 (20:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 May 2018 09:38:43 +0000 (18:38 +0900)
Explain that `git ls-files --ignored` requires at least one
of the `--exclude*` options to do its job.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-files.txt
index 3ac3e3a77d171d55a2992b263e03350cf4c08b3d..f3474b2ede0b61d62fef2c52c55d6d64cac170b9 100644 (file)
@@ -53,7 +53,8 @@ OPTIONS
        Show only ignored files in the output. When showing files in the
        index, print only those matched by an exclude pattern. When
        showing "other" files, show only those matched by an exclude
-       pattern.
+       pattern. Standard ignore rules are not automatically activated,
+       therefore at least one of the `--exclude*` options is required.
 
 -s::
 --stage::