commit 84f2fa52a3151061c9bf74376ecec64fc0950e71 from: Stefan Sperling date: Wed Mar 18 16:10:32 2020 UTC rename got_clone() to got_fetch() commit - 6f23baec62e4cd2736f9ca9962733c1de509b28d commit + 84f2fa52a3151061c9bf74376ecec64fc0950e71 blob - c2cebdbcb7d9ce51c6fb48016d087155a7c71b7b blob + d5f868ebd9f8c1243aa2a30ef8688b5bc3b97826 --- got/got.c +++ got/got.c @@ -993,7 +993,7 @@ cmd_clone(int argc, char *argv[]) dirname = argv[1]; else usage_clone(); - return got_clone(argv[0], branch_filter, dirname); + return got_fetch(argv[0], branch_filter, dirname); } static const struct got_error * blob - 6ffe7e529b3664b6119e0d4ab2ef31d41644d718 blob + b666240f68350f4108c0af0dcc49d57b93cc1c42 --- include/got_fetch.h +++ include/got_fetch.h @@ -14,4 +14,4 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -const struct got_error* got_clone(char *, char *, char *); +const struct got_error* got_fetch(char *, char *, char *); blob - d58bd36e3d935934b4c9b0478cfae78c9ef08de0 blob + 68675291cc8ebbbdcb82b2cd4b07f9b4e5a36f80 --- lib/fetch.c +++ lib/fetch.c @@ -248,7 +248,7 @@ got_parse_uri(char *uri, char *proto, char *host, char } const struct got_error* -got_clone(char *uri, char *branch_filter, char *destdir) +got_fetch(char *uri, char *branch_filter, char *destdir) { char proto[GOT_PROTOMAX], host[GOT_HOSTMAX], port[GOT_PORTMAX]; char repo[GOT_REPOMAX], path[GOT_PATHMAX];