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

Re: Correction for post-receive-email

From
Andreas Ericsson <ae@op5.se>
Date
Oct 5, 2007, 08:54 UTC
Message-ID
<4705FBAA.50302@op5.se>
In-Reply-To
<200710050913.58835.andyparkins@gmail.com>
Andy Parkins wrote:
Show 16 quoted lines
> On Friday 2007 October 05, Eric Mertens wrote:
> 
>> 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?
> 
space=' '

cat << EOF --$space EOF

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Andy ParkinsNext: Bill Lear
Message 3 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.