Re: [PATCH 1/2] ls-files: adding support for submodules
- From
Nazri Ramliy <ayiehere@gmail.com>
- Date
- Sep 25, 2016, 11:03 UTC
- Message-ID
- <CAEY4ZpMm3o2fNb6_3zQYq5x2_EDquGoBPyoafGrrfYQ9B0qouA@mail.gmail.com>
- In-Reply-To
- <CAGZ79kYF6nYL42VQ_mbVzD+2QFLPELe9-8DOQjbSwArM20SCKA@mail.gmail.com>
On Sat, Sep 24, 2016 at 12:34 AM, Stefan Beller <sbeller@google.com> wrote:
> git -C path/to/sub --keep-prefix ls-files
Note that the above can also be written like so (and works identically), due to the fact that -C can be given multiple times:
git -C path -C to -C sub --keep-prefix ls-files
nazri