Skip to content

Commit

Permalink
Merge pull request #394 from dscho/scalar-clone-show-cache-server
Browse files Browse the repository at this point in the history
scalar clone: display the cache server URL that is used (if any)
  • Loading branch information
dscho authored Jul 5, 2021
2 parents 442341a + ed0b26a commit f19e1ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/scalar/scalar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,9 @@ static int cmd_clone(int argc, const char **argv)
res = error(_("could not configure cache server"));
goto cleanup;
}
if (cache_server_url)
fprintf(stderr, "Cache server URL: %s\n",
cache_server_url);
} else {
if (set_config("core.useGVFSHelper=false") ||
set_config("remote.origin.promisor=true") ||
Expand Down

0 comments on commit f19e1ec

Please sign in to comment.