doc: clarify ignore rules for git ls-files

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>

Andreas Heiduk committed May 3, 2018 at 20:48 UTC 47481ff24f0e94bbfa4b9686664e1f5ed3b863c0
1 file changed +2 -1
Documentation/git-ls-files.txt
+2 -1
@@ -53,7 +53,8 @@ OPTIONS
53 Show only ignored files in the output. When showing files in the
54 index, print only those matched by an exclude pattern. When
55 showing "other" files, show only those matched by an exclude
56 - pattern.
56 + pattern. Standard ignore rules are not automatically activated,
57 + therefore at least one of the `--exclude*` options is required.
58
59 -s::
60 --stage::