(oopsies!) minor bug in a hurriedly written one-liner
pretty bad "bug percentage per line of code" though!
This commit is contained in:
parent
61c4793237
commit
a8a3792759
|
@ -476,7 +476,7 @@ sub setup_git_configs
|
|||
next if $key =~ /^gitolite-options\./;
|
||||
if ($value ne "") {
|
||||
$value =~ s/^['"](.*)["']$/$1/;
|
||||
$value =~ s/%GL_REPO/$ENV{GL_REPO}/;
|
||||
$value =~ s/%GL_REPO/$repo/;
|
||||
system("git", "config", $key, $value);
|
||||
} else {
|
||||
system("git", "config", "--unset-all", $key);
|
||||
|
|
Loading…
Reference in a new issue