summaryrefslogtreecommitdiff
path: root/contrib/hooks/multimail/post-receive.example
diff options
context:
space:
mode:
authorLibravatar Matthieu Moy <Matthieu.Moy@imag.fr>2016-05-03 10:31:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-03 14:04:27 -0700
commit4453d76c6abf28a3945a336c5321ea05f07bd8b6 (patch)
tree06eb59207debfe9465e71c48c88429351baa5e3b /contrib/hooks/multimail/post-receive.example
parentStart preparing for 2.8.3 (diff)
downloadtgif-4453d76c6abf28a3945a336c5321ea05f07bd8b6.tar.xz
git-multimail: update to release 1.3.0
The changes are described in CHANGES. Contributions-by: Matthieu Moy <Matthieu.Moy@imag.fr> Contributions-by: Stefan Tatschner <rumpelsepp@sevenbyte.org> Contributions-by: Simon P <simon.git@le-huit.fr> Contributions-by: Leander Hasty <leander@1stplayable.com> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/multimail/post-receive.example')
-rwxr-xr-xcontrib/hooks/multimail/post-receive.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/hooks/multimail/post-receive.example b/contrib/hooks/multimail/post-receive.example
index 9975df7107..1ea113d274 100755
--- a/contrib/hooks/multimail/post-receive.example
+++ b/contrib/hooks/multimail/post-receive.example
@@ -55,6 +55,12 @@ import git_multimail
# git-multimail:
config = git_multimail.Config('multimailhook')
+# Set some Git configuration variables. Equivalent to passing var=val
+# to "git -c var=val" each time git is called, or to adding the
+# configuration in .git/config (must come before instanciating the
+# environment) :
+#git_multimail.Config.add_config_parameters('multimailhook.commitEmailFormat=html')
+#git_multimail.Config.add_config_parameters(('user.name=foo', 'user.email=foo@example.com'))
# Select the type of environment:
try: