# [PATCH] clone-pack: Typofix in the error message.

1 messages from 2005-07-14 to 2005-07-14. Participants: Junio C Hamano.
Thread: https://gitlist.dev/t/1227

## Junio C Hamano, 2005-07-14 03:26

Subject: [PATCH] clone-pack: Typofix in the error message.
Message-ID: <7vbr56kqyp.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vbr56kqyp.fsf%40assigned-by-dhcp.cox.net

```
Cleans a small cut-and-paste mistake.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

 clone-pack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

c8db6ce8de9b9fc8a5eab939704eaa1535a0d3f0
diff --git a/clone-pack.c b/clone-pack.c
--- a/clone-pack.c
+++ b/clone-pack.c
@@ -30,7 +30,7 @@ static struct ref *get_remote_refs(int f
 		if (line[len-1] == '\n')
 			line[--len] = 0;
 		if (len < 42 || get_sha1_hex(line, sha1))
-			die("git-fetch-pack: protocol error - expected ref descriptor, got '%s､'", line);
+			die("git-clone-pack: protocol error - expected ref descriptor, got '%s､'", line);
 		refname = line+41;
 		len = len-40;
 		if (nr_match && !path_match(refname, nr_match, match))

```
