Permalink
Browse files

(oopsies!) minor bug in a hurriedly written one-liner

pretty bad "bug percentage per line of code" though!
  • Loading branch information...
1 parent 61c4793 commit a8a3792759f31200334da0b545653bd1f06e506b @sitaramc committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gitolite.pm
View
@@ -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);

0 comments on commit a8a3792

Please sign in to comment.