1
0
mirror of https://github.com/git/git.git synced 2024-09-21 10:52:56 +02:00

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>
This commit is contained in:
Chris Hiestand 2013-01-16 09:29:14 -08:00 committed by Junio C Hamano
parent 7e2010537e
commit 7811aabbe7

View File

@ -237,6 +237,7 @@ generate_email_header()
X-Git-Reftype: $refname_type X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev X-Git-Oldrev: $oldrev
X-Git-Newrev: $newrev X-Git-Newrev: $newrev
Auto-Submitted: auto-generated
This is an automated email from the git hooks/post-receive script. It was 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 generated because a ref change was pushed to the repository containing