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

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
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 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.