From: Andreas Heiduk Date: Thu, 3 May 2018 18:48:26 +0000 (+0200) Subject: doc: clarify ignore rules for git ls-files X-Git-Tag: v2.18.0-rc0~42^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47481ff24f0e94bbfa4b9686664e1f5ed3b863c0;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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::