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

Re: [PATCH] builtin/worktree.c: Fix typo in "forgot fetch" msg

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 13, 2023, 22:21 UTC
Message-ID
<xmqqttt2mvmu.fsf@gitster.g>
In-Reply-To
<20230811233940.30264-1-jacobabel@nullpo.dev>
Jacob Abel <jacobabel@nullpo.dev> writes:
Show 10 quoted lines
> Replace misspelled word "overide" with correctly spelled "override".
>
> Reported-By: Teng Long <dyroneteng@gmail.com>
> Signed-off-by: Jacob Abel <jacobabel@nullpo.dev>
> ---
> This patch fixes a typo identified in [1]. 
>
> Luckily the text that contained this typo didn't interact with any other
> behavior and the change didn't require any modifications to the test
> code so it was a very quick, easy fix.

True, but l10n folks need to be given sufficient time to react, so let's postpone it til immediately after the upcoming release.

Thanks.
Show 20 quoted lines
> 1. https://lore.kernel.org/git/20230809064724.13032-1-tenglong.tl@alibaba-inc.com/
>
>  builtin/worktree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/worktree.c b/builtin/worktree.c
> index 4cd01842de..10db70b7ec 100644
> --- a/builtin/worktree.c
> +++ b/builtin/worktree.c
> @@ -696,7 +696,7 @@ static int can_use_remote_refs(const struct add_opts *opts)
>  		return 1;
>  	} else if (!opts->force && remote_get(NULL)) {
>  		die(_("No local or remote refs exist despite at least one remote\n"
> -		      "present, stopping; use 'add -f' to overide or fetch a remote first"));
> +		      "present, stopping; use 'add -f' to override or fetch a remote first"));
>  	}
>  	return 0;
>  }
>
> base-commit: fac96dfbb1c24369ba7d37a5affd8adfe6c650fd
Previous: Jacob Abel
Message 2 of 2 in “builtin/worktree.c: Fix typo in "forgot fetch" msg”
  1. builtin/worktree.c: Fix typo in "forgot fetch" msgJacob Abel, Aug 11, 2023
  2. Junio C HamanoAug 13, 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.