Re: [PATCH] fetch: improve grammar of "shallow roots" message
From: Junio C Hamano <hidden>
Date: 2021-05-19 01:17:35
Alex Henrie [off-list ref] writes:
Signed-off-by: Alex Henrie <redacted> --- 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.
quoted hunk
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; }