commit 07e52fce8675e8151ec7c58917fb3a6017279634 from: Stefan Sperling date: Wed Mar 18 16:11:27 2020 UTC rename got_fetch() to got_fetch_pack() commit - 20eb36d0c1c6656066cb9febb9e6988c1eac5c2a commit + 07e52fce8675e8151ec7c58917fb3a6017279634 blob - 14911d3169374e71dc20c2e4255fbe01f188b729 blob + 4ac41cc635c41eac4518ddbb2807dc5cf6245c42 --- got/got.c +++ got/got.c @@ -1035,7 +1035,7 @@ cmd_clone(int argc, char *argv[]) if (err) goto done; - err = got_fetch(&pack_hash, &refs, &symrefs, fetchfd, + err = got_fetch_pack(&pack_hash, &refs, &symrefs, fetchfd, proto, host, port, server_path, repo_name, branch_filter, repo); if (err) goto done; blob - 600d8380690a460eb5dc3bc7b0bf1af363c1aaa5 blob + f3d2b15fae86301b5711f90e5f4384e9287f8039 --- include/got_fetch.h +++ include/got_fetch.h @@ -24,7 +24,7 @@ const struct got_error *got_fetch_parse_uri(char **, c const struct got_error *got_fetch_connect(int *, const char *, const char *, const char *, const char *); -const struct got_error *got_fetch(struct got_object_id **, +const struct got_error *got_fetch_pack(struct got_object_id **, struct got_pathlist_head *, struct got_pathlist_head *, int, const char *, const char *, const char *, const char *, const char *, const char *, struct got_repository *); blob - 617c092b660b823d34b1543c2e24debb60a4f138 blob + c35b104e7b18600d7c0c53be57d233d3eb85438f --- lib/fetch.c +++ lib/fetch.c @@ -298,10 +298,11 @@ done: } const struct got_error* -got_fetch(struct got_object_id **pack_hash, struct got_pathlist_head *refs, +got_fetch_pack(struct got_object_id **pack_hash, struct got_pathlist_head *refs, struct got_pathlist_head *symrefs, int fetchfd, const char *proto, const char *host, const char *port, const char *server_path, - const char *repo_name, const char *branch_filter, struct got_repository *repo) + const char *repo_name, const char *branch_filter, + struct got_repository *repo) { int imsg_fetchfds[2], imsg_idxfds[2]; int packfd = -1, npackfd = -1, idxfd = -1, nidxfd = -1, nfetchfd = -1;