my @cmd = (@git, qw(config --), $c);
my $v;
{
- local ($Debian::Dgit::debuglevel) = $debuglevel-1;
- *debug = *Debian::Dgit::debuglevel; # nnng
+ local ($debuglevel) = $debuglevel-2;
$v = cmdoutput_errok @cmd;
};
if ($?==0) {
badusage "need only 1 subpath argument" unless @ARGV==1;
my ($subpath) = @ARGV;
my @cmd = archive_api_query_cmd($subpath);
+ debugcmd ">",@cmd;
exec @cmd or fail "exec curl: $!\n";
}