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

Re: [PATCH] show-ref: place angle brackets around variable in usage string

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 28, 2015, 18:07 UTC
Message-ID
<xmqq37z32som.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1440649612-3667-1-git-send-email-alexhenrie24@gmail.com>
Alex Henrie <alexhenrie24@gmail.com> writes:
Show 17 quoted lines
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  builtin/show-ref.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/show-ref.c b/builtin/show-ref.c
> index dfbc314..d9c1633 100644
> --- a/builtin/show-ref.c
> +++ b/builtin/show-ref.c
> @@ -8,7 +8,7 @@
>  
>  static const char * const show_ref_usage[] = {
>  	N_("git show-ref [-q | --quiet] [--verify] [--head] [-d | --dereference] [-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [<pattern>...]"),
> -	N_("git show-ref --exclude-existing[=pattern] < ref-list"),
> +	N_("git show-ref --exclude-existing[=pattern] < <ref-list>"),
>  	NULL
>  };
Isn't "--exclude-existing[=<pattern>]" also a placeholder?
Previous: Alex Henrie
Message 2 of 2 in “show-ref: place angle brackets around variable in usage string”
  1. show-ref: place angle brackets around variable in usage stringAlex Henrie, Aug 27, 2015
  2. Junio C HamanoAug 28, 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.