Re: [PATCH v4 0/2] dir: fix pathspec prefixes with exclusions
Yannik Tausch <dev@ytausch.de> writes:
Show 9 quoted lines
> Pathspec prefix optimization must account for exclude items separately.
> The prefix is derived from non-exclude items, so applying it while
> matching an exclude item can compare the wrong portions of the paths.
> Conversely, an exclude item at the start of the pathspec currently
> prevents finding a common prefix among the remaining items.
> ...
> Yannik Tausch (2):
> dir: do not apply prefix to negative pathspecs
> dir: preserve pathspec prefix optimization with leading excludes
Thnaks. This round looks ready for 'next'.