Skip to content

Commit

Permalink
Add Auto-Submitted header to post-receive-email
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Hiestand authored and Junio C Hamano committed Jan 17, 2013
1 parent 7e20105 commit 7811aab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/hooks/post-receive-email
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7811aab

Please sign in to comment.