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

Re: [PATCH 1/2] remote: Remove -v/--verbose option from git remote show synopsis

From
René Scharfe <l.s.r@web.de>
Date
Jan 8, 2015, 19:17 UTC
Message-ID
<54AED7C3.8010604@web.de>
In-Reply-To
<1420739863-11602-1-git-send-email-kuleshovmail@gmail.com>
Am 08.01.2015 um 18:57 schrieb Alexander Kuleshov:
> git remote show doesn't use -v/--verbose option
Hmm, but it does?
	$ git version
	git version 2.2.1
	$ git remote show
	origin
	$ git remote -v show
	origin  git://git.kernel.org/pub/scm/git/git.git (fetch)
	origin  git://git.kernel.org/pub/scm/git/git.git (push)

Perhaps you meant the following variant? The changed line documents the one above, though (-v before show).

	$ git remote show -v
	error: unknown switch `v'
	usage: git remote show [<options>] <name>
	    -n                    do not query remotes
Show 19 quoted lines
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
>   builtin/remote.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/remote.c b/builtin/remote.c
> index 46ecfd9..978c645 100644
> --- a/builtin/remote.c
> +++ b/builtin/remote.c
> @@ -14,7 +14,7 @@ static const char * const builtin_remote_usage[] = {
>   	N_("git remote rename <old> <new>"),
>   	N_("git remote remove <name>"),
>   	N_("git remote set-head <name> (-a | --auto | -d | --delete |<branch>)"),
> -	N_("git remote [-v | --verbose] show [-n] <name>"),
> +	N_("git remote show [-n] <name>"),
>   	N_("git remote prune [-n | --dry-run] <name>"),
>   	N_("git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]"),
>   	N_("git remote set-branches [--add] <name> <branch>..."),
>
Previous: Alexander KuleshovNext: Alexander Kuleshov
Message 2 of 6 in “remote: Remove -v/--verbose option from git remote show synopsis”
  1. 1/2 remote: Remove -v/--verbose option from git remote show synopsisAlexander Kuleshov, Jan 8, 2015
  2. René ScharfeJan 8, 2015
  3. Alexander KuleshovJan 8, 2015
  4. Junio C HamanoJan 8, 2015
  5. Alexander KuleshovJan 8, 2015
  6. Junio C HamanoJan 8, 2015

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.