aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 -%]