Add Auto-Submitted header to post-receive-email
authorChris Hiestand <chiestand@salk.edu>
Wed, 16 Jan 2013 17:29:14 +0000 (09:29 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Jan 2013 20:47:27 +0000 (12:47 -0800)
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>
contrib/hooks/post-receive-email

index b2171a092eafef4cf1e5e1abfa37695a0c111927..0e5b72d7f19185c3b6b36150085d475c7ef15db4 100755 (executable)
@@ -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