summaryrefslogtreecommitdiff
path: root/contrib/hooks/multimail/post-receive.example
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-01-18 13:49:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-18 13:49:55 -0800
commit41db13723400bc1294c813447277e13654e63064 (patch)
treecf18b93ae11f30f47345bc98704abe36060063e8 /contrib/hooks/multimail/post-receive.example
parentMerge branch 'tg/t5570-drop-racy-test' (diff)
parentgit-multimail: update to release 1.5.0 (diff)
downloadtgif-41db13723400bc1294c813447277e13654e63064.tar.xz
Merge branch 'mm/multimail-1.5'
Update "git multimail" from the upstream. * mm/multimail-1.5: git-multimail: update to release 1.5.0
Diffstat (limited to 'contrib/hooks/multimail/post-receive.example')
-rwxr-xr-xcontrib/hooks/multimail/post-receive.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hooks/multimail/post-receive.example b/contrib/hooks/multimail/post-receive.example
index 1ea113d274..b9bb11834e 100755
--- a/contrib/hooks/multimail/post-receive.example
+++ b/contrib/hooks/multimail/post-receive.example
@@ -30,7 +30,6 @@ script's behavior could be changed or customized.
"""
import sys
-import os
# If necessary, add the path to the directory containing
# git_multimail.py to the Python path as follows. (This is not
@@ -86,6 +85,7 @@ mailer = git_multimail.choose_mailer(config, environment)
# Use Python's smtplib to send emails. Both arguments are required.
#mailer = git_multimail.SMTPMailer(
+# environment=environment,
# envelopesender='git-repo@example.com',
# # The smtpserver argument can also include a port number; e.g.,
# # smtpserver='mail.example.com:25'