diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-03-20 22:53:21 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-03-20 22:53:21 +0530 |
commit | a8a3792759f31200334da0b545653bd1f06e506b (patch) | |
tree | 14249bffa0f68c1a72f0da095f375e74994fd115 | |
parent | allow "config hooks.emailprefox = '[%GL_REPO]'" and such (diff) | |
download | gitolite-gentoo-a8a3792759f31200334da0b545653bd1f06e506b.tar.gz gitolite-gentoo-a8a3792759f31200334da0b545653bd1f06e506b.tar.bz2 gitolite-gentoo-a8a3792759f31200334da0b545653bd1f06e506b.zip |
(oopsies!) minor bug in a hurriedly written one-liner
pretty bad "bug percentage per line of code" though!
-rw-r--r-- | src/gitolite.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |