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
u
On 05/11, Junio C Hamano wrote:
> Brandon Williams writes:
>
> > ls-files is the only command (that I know of) which does cache pruning
> > based on the common prefix of all pathspecs given. If there is a
> > submodule named 'sub' and you provided a pathspec 'sub/', the matching
> > logic can ha
Johannes Sixt writes:
> Am 11.05.2017 um 03:48 schrieb Junio C Hamano:
>> But perhaps you are right---it may be wrong for the contents of the
>> current index (or any index) to affect how a pathspec element is
>> parsed in the first place. If the current code (before this series)
>> uses the_ind
Am 11.05.2017 um 03:48 schrieb Junio C Hamano:
But perhaps you are right---it may be wrong for the contents of the
current index (or any index) to affect how a pathspec element is
parsed in the first place. If the current code (before this series)
uses the_index only for error checking, we may w
Brandon Williams writes:
> ls-files is the only command (that I know of) which does cache pruning
> based on the common prefix of all pathspecs given. If there is a
> submodule named 'sub' and you provided a pathspec 'sub/', the matching
> logic can handle this but the cache pruning logic would
On 05/10, Junio C Hamano wrote:
> Brandon Williams writes:
>
> > Convert 'parse_pathspec()' to take an index parameter.
> >
> > Since the index is only needed when the PATHSPEC_SUBMODULE_LEADING_PATH
> > and PATHSPEC_STRIP_SUBMODULE_SLASH flags are given, add a check
> > requiring a non-NULL inde
Brandon Williams writes:
> Convert 'parse_pathspec()' to take an index parameter.
>
> Since the index is only needed when the PATHSPEC_SUBMODULE_LEADING_PATH
> and PATHSPEC_STRIP_SUBMODULE_SLASH flags are given, add a check
> requiring a non-NULL index when either of these flags are given.
> Conv
Convert 'parse_pathspec()' to take an index parameter.
Since the index is only needed when the PATHSPEC_SUBMODULE_LEADING_PATH
and PATHSPEC_STRIP_SUBMODULE_SLASH flags are given, add a check
requiring a non-NULL index when either of these flags are given.
Convert callers which use these two flags
8 matches
Mail list logo