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
Junio C Hamano <gitster@pobox.com>
Date
Dec 6, 2009, 02:04 UTC
Message-ID
<7vd42soo2p.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1260057623-28960-1-git-send-email-alex@chmrr.net>
Alex Vandiver <alex@chmrr.net> writes:
> Signed-off-by: Alex Vandiver <alex@chmrr.net>

Sounds good as it makes the behaviour consistent with the underlying "git fetch".

> ...
>  	"git remote prune [-n | --dry-run] <name>",
> -	"git remote [-v | --verbose] update [-p | --prune] [group | remote]",
> +	"git remote [-v | --verbose] [-q | --quiet] update [-p | --prune] [group]",

We say "<name>" everywhere else except for "update" we call the parameter "group" or "remote" using different typography. It is not the fault of your patch, but has been this way since 1918278 (Allow git-remote to update named groups of remotes, 2007-02-20).

Three issues to consider:
 - shouldn't we use the same typography, i.e. <group>?
 - should we say <name> _if_ we are not going to say <group>|<remote>?
 - should we keep it as <group>|<remote> to make it clear that only this
   subcommand allows the group nickname?

The first two are easy and I expect the answers to be both yes. The third one needs some studying and further thought.

 - is "remote update" the only one that takes group nickname?
 - should "remote update" the only one? e.g. does "remote prune" also
   take group? if not, shouldn't it?
Previous: Alex VandiverNext: Alex Vandiver
Message 2 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.