Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
printdebug "git_lrfetch_sane fspecs @fspecs\n";
my @fcmd = (@git, qw(fetch -p -n -q), access_giturl(), @fspecs);
printdebug "git_lrfetch_sane fspecs @fspecs\n";
my @fcmd = (@git, qw(fetch -p -n -q), access_giturl(), @fspecs);
- runcmd_ordryrun_local @git, qw(fetch -p -n -q), access_giturl(),
- @fspecs
- if @fspecs;
+ runcmd_ordryrun_local @fcmd if @fspecs;
%lrfetchrefs_f = ();
my %objgot;
%lrfetchrefs_f = ();
my %objgot;