Re: [RFC/PATCH] ls-files: adding support for submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 9, 2016, 22:40 UTC
- Message-ID
- <xmqqsht88zov.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160909223513.3rirneqxmrcyi4k4@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> So I suppose another option would be to teach ls-files a "prefix" option > to add to each filename, and just pass in the submodule path. Then you > can let the sub-processes write directly to the common stdout, and I > think it would be safe to blindly pass the parent argv into the child > processes.
I think that is a sensible way to do this, instead of reading from -z and showing things depending on various output modes you were told to use.