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

Re: [PATCH] silence git gc --auto --quiet output

From
Jeff King <peff@peff.net>
Date
Sep 24, 2012, 18:36 UTC
Message-ID
<20120924183641.GA15858@sigill.intra.peff.net>
In-Reply-To
<20120924024024.GA12700@tin.tmux.org>
On Mon, Sep 24, 2012 at 04:40:24AM +0200, Tobias Ulmer wrote:
Show 5 quoted lines
> When --quiet is requested, gc --auto should not display messages unless
> there is an error.
> [...]
> -		if (quiet)
> -			fprintf(stderr, _("Auto packing the repository for optimum performance.\n"));

That makes sense to me. I wonder if we should also be more careful about propagating quiet flags from the callers of "gc --auto". For example, "git am -q" will run "git gc --auto" without the quiet flag at the end, potentially producing unwanted output.

-Peff
Previous: Tobias UlmerNext: Junio C Hamano
Message 2 of 4 in “silence git gc --auto --quiet output”
  1. silence git gc --auto --quiet outputTobias Ulmer, Sep 24, 2012
  2. Jeff KingSep 24, 2012
  3. Junio C HamanoSep 24, 2012
  4. Junio C HamanoSep 24, 2012

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.