From a474bfb2e27d074f9e652c35f4e94a5a3303156c Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 24 Jun 2013 16:01:48 +0200 Subject: Add noemail option, to disable commit emails --- tmpl/soft_repo.gl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmpl') diff --git a/tmpl/soft_repo.gl b/tmpl/soft_repo.gl index c009a0d..d65cb7c 100644 --- a/tmpl/soft_repo.gl +++ b/tmpl/soft_repo.gl @@ -10,3 +10,6 @@ repo [% repo %] [% END -%] config hooks.emailprefix = [% repo %] config gitweb.description = [% r.repos.$repo.description %] +[% IF r.repos.$repo.noemail -%] + config hooks.noemail = [% r.repos.$repo.noemail %] +[% END -%] -- cgit v1.2.1