commit 8ceee1120def5e59bb412ae3be084c4007fbe734 from: Stefan Sperling date: Fri Mar 20 16:04:33 2020 UTC add refspec which git-fetch expects in config file of mirrored repositories commit - 659e7fbd6952b401014702a1e181642a9bba17df commit + 8ceee1120def5e59bb412ae3be084c4007fbe734 blob - 35b58f047d1d5baf09f6eccf06313afe8392cf1d blob + d3f4040208691bd0ca57368b8aa51dcfe00e6a21 --- got/got.c +++ got/got.c @@ -1115,6 +1115,7 @@ cmd_clone(int argc, char *argv[]) if (asprintf(&gitconfig, "[remote \"%s\"]\n" "\turl = %s\n" + "\tfetch = +refs/*:refs/*\n" "\tmirror = true\n", GOT_FETCH_DEFAULT_REMOTE_NAME, git_url) == -1) { error = got_error_from_errno("asprintf");