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

Re: [PATCH] fetch: improve grammar of "shallow roots" message

From
Junio C Hamano <gitster@pobox.com>
Date
May 19, 2021, 01:17 UTC
Message-ID
<xmqq7djv1pzq.fsf@gitster.g>
In-Reply-To
<20210518061855.57478-1-alexhenrie24@gmail.com>
Alex Henrie <alexhenrie24@gmail.com> writes:
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  builtin/fetch.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This and the other one on setup.c both look good changes, but it's not like these messages are new breakages in the upcoming release whose -rc0 has already been tagged and call for help to translators has been issued, on which presumably translators are already working.

So please hold onto these patches until final; I might pick them up and keep them in 'seen' but I may not, and I do not want to see them lost.

Thanks.
Show 13 quoted lines
> diff --git a/builtin/fetch.c b/builtin/fetch.c
> index 97c4fe6e6d..c19a041526 100644
> --- a/builtin/fetch.c
> +++ b/builtin/fetch.c
> @@ -1123,7 +1123,7 @@ static int store_updated_refs(const char *raw_url, const char *remote_name,
>  
>  			if (rm->status == REF_STATUS_REJECT_SHALLOW) {
>  				if (want_status == FETCH_HEAD_MERGE)
> -					warning(_("reject %s because shallow roots are not allowed to be updated"),
> +					warning(_("rejected %s because shallow roots are not allowed to be updated"),
>  						rm->peer_ref ? rm->peer_ref->name : rm->name);
>  				continue;
>  			}
Previous: Alex HenrieNext: Derrick Stolee
Message 2 of 6 in “fetch: improve grammar of "shallow roots" message”
  1. fetch: improve grammar of "shallow roots" messageAlex Henrie, May 18, 2021
  2. Junio C HamanoMay 19, 2021
  3. Derrick StoleeMay 19, 2021
  4. Bagas SanjayaMay 20, 2021
  5. Alex HenrieMay 20, 2021
  6. Bagas SanjayaMay 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.