From: Cornelius Weig Date: Wed, 08 Feb 2017 13:23:08 GMT Subject: Re: [PATCH 2/2] pathspec: don't error out on all-exclusionary pathspec patterns Message-ID: <35bd1d35-4cb8-cf40-38ee-7442efc0f139@tngtech.com> In-Reply-To: Again, as Duy pointed out this should be documented. How about something like this: diff --git a/Documentation/glossary-content.txt b/Documentation/glossary-content.txt index f127fe9..781cde3 100644 --- a/Documentation/glossary-content.txt +++ b/Documentation/glossary-content.txt @@ -387,7 +387,9 @@ Glob magic is incompatible with literal magic. exclude;; After a path matches any non-exclude pathspec, it will be run through all exclude pathspec (magic signature: `!` or `^`). If it - matches, the path is ignored. + matches, the path is ignored. If only exclude pathspec are given, + the exclusion is applied to the result set as if invoked without any + pathspec. -- [[def_parent]]parent::