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 --- NEWS | 1 + tmpl/soft_repo.gl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index e09f192..d9aa190 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ - allow defining repos directly in main config file - set commits mailing lists - set repo descriptions +- add noemail option, to disable commit emails Version 0.1 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