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

Re: [PATCH] Allow --quiet option to git remote, particularly for `git remote update`

From
Alex Vandiver <alex@chmrr.net>
Date
Dec 7, 2009, 06:15 UTC
Message-ID
<1260156352-sup-6170@utwig>
In-Reply-To
<20091206145000.GC26440@coredump.intra.peff.net>
At Sun Dec 06 09:50:00 -0500 2009, Jeff King wrote:
> Should --quiet also affect this "Updating %s" line?

Looking at it more closely, I think this patch should -- but for reasons unrelated o your argument below. The "Updating %s" line there is in fetch_remote, which is _only_ called during `git remote add -f`. It stands in for the "Fetching %s" line which `git fetch` (and `git remote update`) outputs, which (after this patch), _is_ controlled by --quiet.

Thus I feel like "Updating %s" should change to "Fetching %s" for both consistency and explicitness, and should also be controlled by --quiet. The --quiet-remote option is an entirely different bikeshed, which I don't have a strong opinion on, offhand.

 - Alex
-- 
Networking -- only one letter away from not working
Previous: Jeff KingNext: Jeff King
Message 5 of 6 in “Allow --quiet option to git remote, particularly for `git remote update`”
  1. Allow --quiet option to git remote, particularly for `git remote update`Alex Vandiver, Dec 6, 2009
  2. Junio C HamanoDec 6, 2009
  3. Alex VandiverDec 7, 2009
  4. Jeff KingDec 6, 2009
  5. Alex VandiverDec 7, 2009
  6. Jeff KingDec 7, 2009

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.