diff options
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2539,6 +2539,8 @@ sub git_lrfetch_sane { # git fetch to try to generate it. If we don't manage to generate # the target state, we try again. + my $url = access_giturl(); + printdebug "git_lrfetch_sane specs @specs\n"; my $specre = join '|', map { @@ -2562,7 +2564,7 @@ sub git_lrfetch_sane { } my @look = map { "refs/$_" } @specs; - my @lcmd = (@git, qw(ls-remote -q --refs), access_giturl(), @look); + my @lcmd = (@git, qw(ls-remote -q --refs), $url, @look); debugcmd "|",@lcmd; my %wantr; @@ -2590,7 +2592,7 @@ END printdebug "git_lrfetch_sane fspecs @fspecs\n"; - my @fcmd = (@git, qw(fetch -p -n -q), access_giturl(), @fspecs); + my @fcmd = (@git, qw(fetch -p -n -q), $url, @fspecs); runcmd_ordryrun_local @fcmd if @fspecs; %lrfetchrefs_f = (); |