git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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...

Previous: Jeff KingNext: Jeff King
Message 4 of 9 in “git-clone: use cpio's --quiet flag”
  1. git-clone: use cpio's --quiet flagJeff King, Aug 4, 2007
  2. Johannes SchindelinAug 4, 2007
  3. Jeff KingAug 4, 2007
  4. Junio C HamanoAug 4, 2007
  5. Jeff KingAug 4, 2007
  6. Junio C HamanoAug 4, 2007
  7. Jeff KingAug 5, 2007
  8. Junio C HamanoAug 5, 2007
  9. Jeff KingAug 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.