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

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

From
Alex Henrie <alexhenrie24@gmail.com>
Date
May 18, 2021, 06:18 UTC
Message-ID
<20210518061855.57478-1-alexhenrie24@gmail.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/fetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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;
 			}
-- 
2.31.1
Next: Junio C Hamano
Message 1 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.