diff options
author | Nicolas Vigier <boklm@mars-attacks.org> | 2013-06-24 16:01:48 +0200 |
---|---|---|
committer | Nicolas Vigier <boklm@mars-attacks.org> | 2013-06-24 16:01:48 +0200 |
commit | a474bfb2e27d074f9e652c35f4e94a5a3303156c (patch) | |
tree | b412a5f1e803dd291bd00f2bbd6f53499f27acc3 | |
parent | 3732abe657d773d461a92e14aa94678585a78ff2 (diff) | |
download | mgagit-a474bfb2e27d074f9e652c35f4e94a5a3303156c.tar mgagit-a474bfb2e27d074f9e652c35f4e94a5a3303156c.tar.gz mgagit-a474bfb2e27d074f9e652c35f4e94a5a3303156c.tar.bz2 mgagit-a474bfb2e27d074f9e652c35f4e94a5a3303156c.tar.xz mgagit-a474bfb2e27d074f9e652c35f4e94a5a3303156c.zip |
Add noemail option, to disable commit emails
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | tmpl/soft_repo.gl | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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 -%] |