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

Re: [PATCH 2/2] fetch: silence git-gc if --quiet is given

From
Duy Nguyen <pclouds@gmail.com>
Date
Aug 15, 2014, 12:09 UTC
Message-ID
<CACsJy8CuiAYGA-Tkr1p+KVm=hvpKYwooJMc9-z-pR4nOBDaTug@mail.gmail.com>
In-Reply-To
<20140814195615.GB19337@peff.net>
On Fri, Aug 15, 2014 at 2:56 AM, Jeff King <peff@peff.net> wrote:
Show 9 quoted lines
> I think this is a fine fix for this specific problem, and we should
> apply it. But I do wonder if it would be simpler in the long run to
> treat verbosity as a global option, and pass it around via a GIT_QUIET
> (or GIT_VERBOSITY) environment variable.
>
> I would not be surprised at all to find that there are other cases where
> sub-programs do not respect the parent verbosity (I know we have had
> problems with progress reporting flags carried over the transport
> interface in the past, but I think we fixed all of those).

I don't see any easy way to make everybody aware of $GIT_QUIET. But the idea is nice.

-- 
Duy
Previous: Jeff KingNext: Jeff King
Message 4 of 7 in “fetch: convert argv_gc_auto to struct argv_array”
  1. 1/2 fetch: convert argv_gc_auto to struct argv_arrayNguyễn Thái Ngọc Duy, Aug 14, 2014
  2. 2/2 fetch: silence git-gc if --quiet is givenNguyễn Thái Ngọc Duy, Aug 14, 2014
  3. Jeff KingAug 14, 2014
  4. Duy NguyenAug 15, 2014
  5. Jeff KingAug 14, 2014
  6. 1/2 fetch: convert argv_gc_auto to struct argv_arrayNguyễn Thái Ngọc Duy, Aug 16, 2014
  7. 2/2 fetch: silence git-gc if --quiet is givenNguyễn Thái Ngọc Duy, Aug 16, 2014

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.