From: Junio C Hamano Date: Fri, 12 May 2017 00:54:46 GMT Subject: Re: [PATCH 8/8] pathspec: convert parse_pathspec to take an index Message-ID: In-Reply-To: <20170511173605.GB83655@google.com> Brandon Williams writes: > ... Note that if we go with the route to not pass > in an index now, it doesn't necessarily mean that down the line we won't > have to pass a 'repository' instance into parse_pathspec(). Correct. An attribute annotated pathspec may want to check if the attributes used in it are used in the repository at all for validation or optimization purposes, for example.