diff options
author | Chris Hiestand <chiestand@salk.edu> | 2013-01-16 09:29:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-17 12:47:27 -0800 |
commit | 7811aabbe71e02c1c676a02d57356c80bd94f598 (patch) | |
tree | 5e1c16064ff387aa34585ac49bbee3a92e9d13f3 /contrib/hooks | |
parent | 7e2010537e96d0a1144520222f20ba1dc3d61441 (diff) | |
download | git-7811aabbe71e02c1c676a02d57356c80bd94f598.tar.gz git-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/hooks')
-rwxr-xr-x | contrib/hooks/post-receive-email | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email index b2171a092..0e5b72d7f 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 |