Re: [PATCHv19 00/11] Expose submodule parallelism to the user
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Feb 29, 2016, 21:28 UTC
- Message-ID
- <56D4B805.7090702@kdbg.org>
- In-Reply-To
- <xmqqwppn8ba4.fsf@gitster.mtv.corp.google.com>
Am 29.02.2016 um 22:19 schrieb Junio C Hamano:
Show 9 quoted lines
> Stefan Beller <sbeller@google.com> writes: > >> Maybe we want to remove the struct child_process from the >> function signature of the callbacks and callbacks need to rely on >> the data provided solely thru the pointer as passed around for >> callback purposes, which the user is free to use for any kind >> of data. > > I think that is the most sensible.
I also think that is the better approach. Dumping out the argv array is not the best end-user experience. It is just a debugging aid, and for that we have (or should extend if necessary) GIT_TRACE infrastructure. Moreover, a command that failed should have printed error messages, and it is not necessary to follow it up with another "A child process exited with code N" message.
-- Hannes