From a8a3792759f31200334da0b545653bd1f06e506b Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Tue, 20 Mar 2012 22:53:21 +0530 Subject: [PATCH] (oopsies!) minor bug in a hurriedly written one-liner pretty bad "bug percentage per line of code" though! --- src/gitolite.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitolite.pm b/src/gitolite.pm index 3553c47..8120526 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -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);