aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-ls-files.txt
diff options
context:
space:
mode:
authorAndreas Heiduk <asheiduk@gmail.com>2018-05-03 20:48:26 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-06 18:38:43 +0900
commit47481ff24f0e94bbfa4b9686664e1f5ed3b863c0 (patch)
treed95066ab91f06cc4152b804c3a2212ca9b473a65 /Documentation/git-ls-files.txt
parente78e0f728eb043dc99de10fb3b4d58575f2df0c9 (diff)
downloadgit-47481ff24f0e94bbfa4b9686664e1f5ed3b863c0.tar.gz
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>
Diffstat (limited to 'Documentation/git-ls-files.txt')
-rw-r--r--Documentation/git-ls-files.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 3ac3e3a77d..f3474b2ede 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -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::