From 4dbd562b8e5bf8d44a7a19b8e248b2b0e0295eb2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 8 Jan 2015 19:28:34 +0100 Subject: Use custom templates for Git repositories Do not waste disk space by copying dozens of unneeded sample hooks. Use a custom template directory that only includes the git-update hook. Signed-off-by: Lukas Fleischer --- conf/config.proto | 1 + 1 file changed, 1 insertion(+) (limited to 'conf') diff --git a/conf/config.proto b/conf/config.proto index a3b1640..ac79bd6 100644 --- a/conf/config.proto +++ b/conf/config.proto @@ -35,6 +35,7 @@ ssh-options = no-port-forwarding,no-X11-forwarding,no-pty [serve] repo-base = /srv/http/aur/repos/ repo-regex = [a-z0-9][a-z0-9.+_-]*$ +template-path = /srv/http/aur/scripts/git-integration/templates/ git-update-hook = /srv/http/aur/scripts/git-integration/git-update.py git-shell-cmd = /usr/bin/git-shell ssh-cmdline = ssh -p 2222 aur@aur.archlinux.org -- cgit v1.2.3-70-g09d2