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

Re: [PATCH] Cleanup commit messages with git-stripspace

From
Petr Baudis <pasky@ucw.cz>
Date
Jun 4, 2005, 22:10 UTC
Message-ID
<20050604221012.GB7084@pasky.ji.cz>
In-Reply-To
<20050604161531.GO12615@diku.dk>

Dear diary, on Sat, Jun 04, 2005 at 06:15:31PM CEST, I got a letter where Jonas Fonseca <fonseca@diku.dk> told me that...

Show 5 quoted lines
> Besides removing empty lines from the beginning and end (like the
> current sed command) git-stripspace will also turn multiple consecutive
> empty lines into just one empty line.
> 
> Signed-off-by: Jonas Fonseca <fonseca@diku.dk>

I tried hard to prevent this exact behavior since I think this is Bad Thing (tm), but after all, what the hell... The sed expression has some portability problems associated.

Thanks, applied.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Message 1 of 1 in “Re: [PATCH] Cleanup commit messages with git-stripspace”
  1. Petr BaudisJun 4, 2005

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.