Subject: Re: [PATCH 8/8] pathspec: convert parse_pathspec to take an index

From: Junio C Hamano <[email-masked]>
Date: Fri, 12 May 2017 09:54:46 +0900

Brandon Williams <[email-masked]> 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.