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

Re: Correction for post-receive-email

From
APAndy Parkins <andyparkins@gmail.com>
Date
Oct 5, 2007, 08:13 UTC
Message-ID
<200710050913.58835.andyparkins@gmail.com>
In-Reply-To
<449c8cfc0710050014j9bbf057ka108ee27dea49a89@mail.gmail.com>
On Friday 2007 October 05, Eric Mertens wrote:
Show 5 quoted lines
> 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.

That change has been in my pending queue for a while. It's technically correct, but I've never submitted it. The reason I haven't is that it adds trailing whitespace.

Perhaps one of the shell gurus can offer a nicer way of having a trailing space be output in a heredoc that doesn't add a trailing space in the source script?

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Eric MertensNext: Andreas Ericsson
Message 2 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.