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

Correction for post-receive-email

From
EMEric Mertens <emertens@gmail.com>
Date
Oct 5, 2007, 07:14 UTC
Message-ID
<449c8cfc0710050014j9bbf057ka108ee27dea49a89@mail.gmail.com>
Hello,
(My apologies if my incorrectly addressed subscribe message went to the list)

I noticed that my mutt wasn't correctly detecting the signature block on the end of the automated emails I was receiving from the script in contrib. I've made this trivial change in my local copy of the script, but I figured that if I was going to be modifying the source code I should share my changes.

-- 
Eric Mertens


From 119f84fa6f6bb33c6fc524ab4277d38bebc10468 Mon Sep 17 00:00:00 2001
From: Eric Mertens <emertens@gmail.com>
Date: Fri, 5 Oct 2007 00:06:52 -0700
Subject: [PATCH] Correct signature block delimiter in post-receive-email by adding a trailing space

This change allows mail clients like Mutt to easily detect the signature
and is consistent with the signature block article on Wikipedia.
---
 contrib/hooks/post-receive-email |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index cbbd02f..828651a 100644
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -198,7 +198,7 @@ generate_email_footer()
 
 
 	hooks/post-receive
-	--
+	-- 
 	$projectdesc
 	EOF
 }
-- 
1.5.3.4
Next: Andy Parkins
Message 1 of 5 in “Correction for post-receive-email”
  1. Eric MertensOct 5, 2007
  2. Andy ParkinsOct 5, 2007
  3. Andreas EricssonOct 5, 2007
  4. Bill LearOct 5, 2007
  5. Andy ParkinsOct 5, 2007

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.