aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mars-attacks.org>2013-06-24 16:01:48 +0200
committerNicolas Vigier <boklm@mars-attacks.org>2013-06-24 16:01:48 +0200
commita474bfb2e27d074f9e652c35f4e94a5a3303156c (patch)
treeb412a5f1e803dd291bd00f2bbd6f53499f27acc3
parent3732abe657d773d461a92e14aa94678585a78ff2 (diff)
downloadmgagit-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--NEWS1
-rw-r--r--tmpl/soft_repo.gl3
2 files changed, 4 insertions, 0 deletions
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 -%]