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

[PATCH] fetch-pack.c: correct command at the beginning of an error message

From
Ralf Thielow <ralf.thielow@gmail.com>
Date
Nov 11, 2016, 17:21 UTC
Message-ID
<20161111172100.8028-1-ralf.thielow@gmail.com>

One error message in fetch-pack.c uses 'git fetch_pack' at the beginning which is not a git command. Use 'git fetch-pack' instead.

Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
---
 fetch-pack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fetch-pack.c b/fetch-pack.c
index cb45c346e..601f0779a 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -240,7 +240,7 @@ static enum ack_type get_ack(int fd, unsigned char *result_sha1)
 			return ACK;
 		}
 	}
-	die(_("git fetch_pack: expected ACK/NAK, got '%s'"), line);
+	die(_("git fetch-pack: expected ACK/NAK, got '%s'"), line);
 }
 
 static void send_request(struct fetch_pack_args *args,
-- 
2.11.0.rc0.151.gf7463a1
Message 1 of 1 in “fetch-pack.c: correct command at the beginning of an error message”
  1. fetch-pack.c: correct command at the beginning of an error messageRalf Thielow, Nov 11, 2016

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.