Re: [PATCH v5 2/4] ls-files: optionally recurse into submodules

2016-09-28 Thread Junio C Hamano
Brandon Williams writes: > +--recurse-submodules:: > + Recursively calls ls-files on each submodule in the repository. > + Currently there is only support for the --cached mode. Good to describe it, but at this step, there is only support for the "--cached" mode and it does not take a pa

Re: [PATCH v5 2/4] ls-files: optionally recurse into submodules

2016-09-28 Thread Stefan Beller
On Wed, Sep 28, 2016 at 2:50 PM, Brandon Williams wrote: > Allow ls-files to recognize submodules in order to retrieve a list of > files from a repository's submodules. This is done by forking off a > process to recursively call ls-files on all submodules. Use top-level > --super-prefix option to

[PATCH v5 2/4] ls-files: optionally recurse into submodules

2016-09-28 Thread Brandon Williams
Allow ls-files to recognize submodules in order to retrieve a list of files from a repository's submodules. This is done by forking off a process to recursively call ls-files on all submodules. Use top-level --super-prefix option to pass a path to the submodule which it can use to prepend to outpu