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

Re: [PATCH] git-push: more visibility for -q option

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 20, 2023, 20:08 UTC
Message-ID
<xmqqwmvhoy57.fsf@gitster.g>
In-Reply-To
<20231020184627.14336-1-msuchanek@suse.de>
Michal Suchanek <msuchanek@suse.de> writes:
> The -v option listed at the top as option al parameter while -q is not.
"as option al parameter" - ECANNOTPARSE.  Probably
    The `-v` option is shown in the SYNOPSIS section near the top,
    but `-q` is not shown anywhere there.

or something, I think. I agree showing it next to "-v" would make the most sense.

Show 18 quoted lines
>
> List -q alongside -v.
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  Documentation/git-push.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
> index 5b4edaf4a8..003bc7d9ce 100644
> --- a/Documentation/git-push.txt
> +++ b/Documentation/git-push.txt
> @@ -10,7 +10,7 @@ SYNOPSIS
>  --------
>  [verse]
>  'git push' [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
> -	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
> +	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]

Yup, the change makes sense. We may want to wrap the first line to a more reasonable length in a separate commit, and when that happens, we probably would want to start [-v] [-q] on a separate line as well, but for now this would do.

Previous: Eric SunshineNext: Michal Suchánek
Message 3 of 4 in “git-push: more visibility for -q option”
  1. git-push: more visibility for -q optionMichal Suchanek, Oct 20, 2023
  2. Eric SunshineOct 20, 2023
  3. Junio C HamanoOct 20, 2023
  4. Michal SuchánekOct 30, 2023

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.