On Fri, 16 Sep 2016, Junio C Hamano wrote:
> Kevin Wern <kevin.m.w...@gmail.com> writes:
> > Add option RUN_COMMAND_NO_STDOUT, which sets no_stdout on a child
> > process.
> > This will be used by git clone when calling index-pack on a downloaded
> > packfile.
> If it is just one caller, would't it make more sense for that caller
> set no_stdout explicitly itself?
Taking a step back, maybe it is not such a good idea to swallow the output
in all cases, including the error cases?
Maybe the best course of action is to hide stdout/stderr by default but
show it in case of a non-zero exit code, i.e. using