Thread (2 messages) flat view 2 messages, 1 author, 2016-06-15
STALE3722d

[PATCH] Add Auto-Submitted header to post-receive-email

From: Chris Hiestand <hidden>
Date: 2016-06-15 22:53:35
Subsystem: the rest · Maintainer: Linus Torvalds

Hi,

I think the Auto-Submitted header is a useful hook mail header to include by default.

This conforms to RFC3834 and is useful in preventing e.g. vacation auto-responders
from replying by default.

Perhaps you have already considered this and decided not to include it, but I found
no record of such a conversation on this list.

Thanks,
Chris Hiestand

From 358fc3ae1ebfd7723d54e4033d3e9a9a0322c873 Mon Sep 17 00:00:00 2001
From: Chris Hiestand <redacted>
Date: Sat, 14 Apr 2012 17:58:39 -0700
Subject: [PATCH] Add Auto-Submitted header to post-receive-email

Adds Auto-Submitted: auto-generated to post-receive-email header
This conforms to RFC3834 and is useful in preventing eg
vacation auto-responders from replying by default
---
 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 01af9df..282507c 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
-- 
1.7.9
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help