Commit Diff


commit - 9ff1041997308dfb0623d226c66ae1cbacc6fdc6
commit + 018e0a9a451218ebe68b2af160d30a71754a6c41
blob - 5c10d3e297bc178cfd08b26b642d57d0d9253701
blob + f3c5837fb024575d0c038ec7bf356dddad56fe17
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
@@ -282,7 +282,7 @@ got_tokenize_refline(char *line, char **sp, size_t nsp
 }
 
 static const struct got_error *
-got_fetch_pack(int fd, int packfd, struct got_object_id *packid)
+fetch_pack(int fd, int packfd, struct got_object_id *packid)
 {
 	const struct got_error *err = NULL;
 	char buf[GOT_PKTMAX], *sp[3];
@@ -487,7 +487,7 @@ main(int argc, char **argv)
 	}
 	packfd = imsg.fd;
 
-	err = got_fetch_pack(fetchfd, packfd, &packid);
+	err = fetch_pack(fetchfd, packfd, &packid);
 	if (err)
 		goto done;
 done: