diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2017-05-10 09:29:53 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2017-05-10 11:00:29 +0530 |
commit | d77bf42c0ef81b3e03c538b3583a24cc0912fe98 (patch) | |
tree | cdf1f5edce28ecd59107c34734ce96e44a6afacd /src | |
parent | Fix SHA256 fingerprinting to match the full character set (diff) | |
download | gitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.tar.gz gitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.tar.bz2 gitolite-gentoo-d77bf42c0ef81b3e03c538b3583a24cc0912fe98.zip |
allow the multi hook driver to be placed elsewhere
see https://groups.google.com/forum/#!topic/gitolite/-PvYRleGKHQ for
details
Diffstat (limited to 'src')
-rwxr-xr-x | src/triggers/repo-specific-hooks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/triggers/repo-specific-hooks b/src/triggers/repo-specific-hooks index 6e229ea..969c7e8 100755 --- a/src/triggers/repo-specific-hooks +++ b/src/triggers/repo-specific-hooks @@ -15,7 +15,7 @@ _chdir( $ENV{GL_REPO_BASE} ); @ARGV = ("gitolite list-phy-repos | gitolite git-config -ev -r % gitolite-options\\.hook\\. |"); -my $driver = "$rc{LOCAL_CODE}/hooks/multi-hook-driver"; +my $driver = $rc{MULTI_HOOK_DRIVER} || "$rc{LOCAL_CODE}/hooks/multi-hook-driver"; # Hook Driver { local $/ = undef; |