summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Chris Hiestand <chiestand@salk.edu>2013-01-16 09:29:14 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-17 12:47:27 -0800
commit7811aabbe71e02c1c676a02d57356c80bd94f598 (patch)
tree5e1c16064ff387aa34585ac49bbee3a92e9d13f3 /contrib
parentGit 1.7.12.4 (diff)
downloadtgif-7811aabbe71e02c1c676a02d57356c80bd94f598.tar.xz
Add Auto-Submitted header to post-receive-email
This conforms to RFC3834 and is useful in preventing eg vacation auto-responders from replying by default Signed-off-by: Chris Hiestand <chiestand@salk.edu> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/hooks/post-receive-email1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index b2171a092e..0e5b72d7f1 100755
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -237,6 +237,7 @@ generate_email_header()
X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev
X-Git-Newrev: $newrev
+ Auto-Submitted: auto-generated
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing