Re: [PATCH v6 4/4] ls-files: add pathspec matching for submodules

2016-10-04 Thread Stefan Beller
On Thu, Sep 29, 2016 at 2:48 PM, Brandon Williams wrote: > Pathspecs can be a bit tricky when trying to apply them to submodules. > The main challenge is that the pathspecs will be with respect to the > superproject and not with respect to paths in the submodule. The > approach this patch takes i

[PATCH v6 4/4] ls-files: add pathspec matching for submodules

2016-09-29 Thread Brandon Williams
Pathspecs can be a bit tricky when trying to apply them to submodules. The main challenge is that the pathspecs will be with respect to the superproject and not with respect to paths in the submodule. The approach this patch takes is to pass in the identical pathspec from the superproject to the s