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 <[email protected]> Reviewed-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7e20105 commit 7811aab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)