Signed-off-by: Tom Prince <redacted>
Signed-off-by: Junio C Hamano <redacted>
$key =~ s/^gitweb\.//;
return if ($key =~ m/\W/);
$key =~ s/^gitweb\.//;
return if ($key =~ m/\W/);
- my @x = (git_cmd(), 'repo-config');
+ my @x = (git_cmd(), 'config');
if (defined $type) { push @x, $type; }
push @x, "--get";
push @x, "gitweb.$key";
if (defined $type) { push @x, $type; }
push @x, "--get";
push @x, "gitweb.$key";