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

Re: [PATCH] help: fix small typo in error message

From
Junio C Hamano <gitster@pobox.com>
Date
May 20, 2021, 22:53 UTC
Message-ID
<xmqqbl95t3u4.fsf@gitster.g>
In-Reply-To
<20210520074214.40903-1-jn.avila@free.fr>
Jean-Noël Avila <jn.avila@free.fr> writes:
Show 6 quoted lines
> Classic string concatenation while forgetting a space character.
>
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
> ---
>  list-objects-filter-options.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks. This is a new message added in this round, so let's fast-track this fix down.

Show 13 quoted lines
> diff --git a/list-objects-filter-options.c b/list-objects-filter-options.c
> index 96a605c8ad..fd8d59f653 100644
> --- a/list-objects-filter-options.c
> +++ b/list-objects-filter-options.c
> @@ -102,7 +102,7 @@ static int gently_parse_list_objects_filter(
>  	} else if (skip_prefix(arg, "object:type=", &v0)) {
>  		int type = type_from_string_gently(v0, strlen(v0), 1);
>  		if (type < 0) {
> -			strbuf_addf(errbuf, _("'%s' for 'object:type=<type>' is"
> +			strbuf_addf(errbuf, _("'%s' for 'object:type=<type>' is "
>  					      "not a valid object type"), v0);
>  			return 1;
>  		}
Previous: Jonathan Nieder
Message 3 of 3 in “help: fix small typo in error message”
  1. help: fix small typo in error messageJean-Noël Avila, May 20, 2021
  2. Jonathan NiederMay 20, 2021
  3. Junio C HamanoMay 20, 2021

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.