git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Chris Hiestand <chiestand@salk.edu>
Date
Sep 21, 2012, 09:04 UTC
Message-ID
<67C048AA-0DA7-4397-A257-E0BE66089A5D@salk.edu>
In-Reply-To
<E4715C92-2BE5-484E-A55B-273CAB5EB6B4@salk.edu>

My email in April went unanswered so I'm resending it. An Auto-Submitted header would be an improvement to the standard [git] post receive email.

Thanks, Chris

Begin forwarded message:
Show 51 quoted lines
> From: Chris Hiestand <chiestand@salk.edu>
> Subject: [PATCH] Add Auto-Submitted header to post-receive-email
> Date: April 14, 2012 6:15:10 PM PDT
> To: git@vger.kernel.org, gitster@pobox.com
> 
> 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 <chiestand@salk.edu>
> 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
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Chris HiestandNext: Junio C Hamano
Message 2 of 5 in “Add Auto-Submitted header to post-receive-email”
  1. Add Auto-Submitted header to post-receive-emailChris Hiestand, Apr 15, 2012
  2. Chris HiestandSep 21, 2012
  3. Junio C HamanoSep 21, 2012
  4. Chris HiestandJan 16, 2013
  5. Jonathan NiederJan 17, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.