Re: [PATCH] git-clone: use cpio's --quiet flag

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] git-clone: use cpio's --quiet flag

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:26

Jeff King [off-list ref] writes:
On Sat, Aug 04, 2007 at 04:36:59PM +0100, Johannes Schindelin wrote:
quoted
quoted
$ 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...

Re: [PATCH] git-clone: use cpio's --quiet flag

From: Jeff King <hidden>
Date: 2016-06-15 22:43:26

On Sat, Aug 04, 2007 at 10:48:29AM -0700, Junio C Hamano wrote:
I was hoping that we can say that the output is analogous to the
native transport reporting "Conting objects: XXXX" and stuff...
It always says "0 blocks" for me, which looks a bit like an error (but
the clone seems to work fine).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help