Re: [PATCH] git-clone: use cpio's --quiet flag
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 4, 2007, 17:48 UTC
- Message-ID
- <7vwswbgphu.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070804160409.GA16326@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Sat, Aug 04, 2007 at 04:36:59PM +0100, Johannes Schindelin wrote: > >> > $ git-clone foo bar >> > Initialized empty Git repository in ... >> > 0 blocks >> >> According to http://www.opengroup.org/onlinepubs/7990989775/xcu/cpio.html, >> cpio does not know about --quiet. I think this is another GNUism... > > Ugh, I didn't even think to check the spec, thanks for looking (I should > have been tipped off by the presence only of a long option). > > I'm not sure what the best solution is...adding --quiet makes it totally > unportable, but that message almost looks like an error. We can redirect > stderr, but then we potentially miss real errors.
I was hoping that we can say that the output is analogous to the native transport reporting "Conting objects: XXXX" and stuff...