Re: [PATCH] git-clone: use cpio's --quiet flag
- From
Jeff King <peff@peff.net>
- Date
- Aug 4, 2007, 16:04 UTC
- Message-ID
- <20070804160409.GA16326@sigill.intra.peff.net>
- In-Reply-To
- <Pine.LNX.4.64.0708041636290.14781@racer.site>
On Sat, Aug 04, 2007 at 04:36:59PM +0100, Johannes Schindelin wrote:
Show 6 quoted lines
> > $ 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 guess we could grep it out.
-Peff