diff options
author | Nicolas Vigier <boklm@mars-attacks.org> | 2013-11-25 14:34:03 +0100 |
---|---|---|
committer | Nicolas Vigier <boklm@mars-attacks.org> | 2013-11-25 14:34:03 +0100 |
commit | 2eabb7b3e7e3b452ebf0a227eea9956dd136fff9 (patch) | |
tree | 4b1f96dc651e783a26ca46a489be9ef4e5d55064 /lib | |
parent | af79eae69272740f8cf23679c903dd78843d4a4f (diff) | |
download | mgagit-2eabb7b3e7e3b452ebf0a227eea9956dd136fff9.tar mgagit-2eabb7b3e7e3b452ebf0a227eea9956dd136fff9.tar.gz mgagit-2eabb7b3e7e3b452ebf0a227eea9956dd136fff9.tar.bz2 mgagit-2eabb7b3e7e3b452ebf0a227eea9956dd136fff9.tar.xz mgagit-2eabb7b3e7e3b452ebf0a227eea9956dd136fff9.zip |
Fix bug introduced by commit 17ad237cd599702f
The gl_template option is now in the origin_config instead of
repo_config before, so we need to use the origin_config function to
access it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MGA/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Git.pm b/lib/MGA/Git.pm index 72407c4..5e3d20e 100644 --- a/lib/MGA/Git.pm +++ b/lib/MGA/Git.pm @@ -170,7 +170,7 @@ sub gitolite_repo_config { repo_conf => sub { repo_config($r, $repo, @_) }, origin_conf => sub { origin_config($r, $repo, @_) }, }; - return process_tmpl($r->{repos}{$repo}{gl_template}, 'gl', $vars); + return process_tmpl(origin_config($r, $repo, 'gl_template'), 'gl', $vars); } sub gitolite_group_config { |