commit f79e64905fc5fe74a7dfa5a7b0af0f567b16ee8f from: Stefan Sperling date: Sun Apr 19 08:24:07 2020 UTC move clone/fetch connection progress messages to a more obvious spot commit - 5e9b18faa72546f7b23521db8cb5e53c178797fc commit + f79e64905fc5fe74a7dfa5a7b0af0f567b16ee8f blob - 916f941d8e2becbfcbdd681d226518ac003e8055 blob + 377d2b0c790ca00f298b74a5033d163a290f3e60 --- got/got.c +++ got/got.c @@ -1176,15 +1176,15 @@ cmd_clone(int argc, char *argv[]) error = apply_unveil(repo ? got_repo_get_path(repo) : NULL, 0, NULL); if (error) goto done; + + if (verbosity >= 0) + printf("Connecting to %s%s%s\n", host, + port ? ":" : "", port ? port : ""); error = got_fetch_connect(&fetchpid, &fetchfd, proto, host, port, server_path, verbosity); if (error) goto done; - - if (verbosity >= 0) - printf("Connecting to %s%s%s\n", host, - port ? ":" : "", port ? port : ""); fpa.last_scaled_size[0] = '\0'; fpa.last_p_indexed = -1; @@ -1904,15 +1904,15 @@ cmd_fetch(int argc, char *argv[]) error = apply_unveil(got_repo_get_path(repo), 0, NULL); if (error) goto done; + + if (verbosity >= 0) + printf("Connecting to \"%s\" %s%s%s\n", remote->name, host, + port ? ":" : "", port ? port : ""); error = got_fetch_connect(&fetchpid, &fetchfd, proto, host, port, server_path, verbosity); if (error) goto done; - - if (verbosity >= 0) - printf("Connecting to \"%s\" %s%s%s\n", remote->name, host, - port ? ":" : "", port ? port : ""); fpa.last_scaled_size[0] = '\0'; fpa.last_p_indexed = -1;