Skip to content

Commit 7811aab

Browse files
chrishiestandgitster
authored andcommitted
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>
1 parent 7e20105 commit 7811aab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

contrib/hooks/post-receive-email

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ generate_email_header()
237237
X-Git-Reftype: $refname_type
238238
X-Git-Oldrev: $oldrev
239239
X-Git-Newrev: $newrev
240+
Auto-Submitted: auto-generated
240241
241242
This is an automated email from the git hooks/post-receive script. It was
242243
generated because a ref change was pushed to the repository containing

0 commit comments

Comments
 (0)