Re: [PATCH 8/8] pathspec: convert parse_pathspec to take an index
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 12, 2017, 00:54 UTC
- Message-ID
- <xmqqshka99nt.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170511173605.GB83655@google.com>
Brandon Williams <bmwill@google.com> 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.