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

1 messages from 2016-11-11 to 2016-11-11. Participants: Ralf Thielow.
Thread: https://gitlist.dev/t/44465

## Ralf Thielow, 2016-11-11 17:21

Subject: [PATCH] fetch-pack.c: correct command at the beginning of an error message
Message-ID: <20161111172100.8028-1-ralf.thielow@gmail.com>
URL: https://gitlist.dev/e/20161111172100.8028-1-ralf.thielow%40gmail.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


```
