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

git-stripspace breakage

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 14, 2006, 16:40 UTC
Message-ID
<Pine.LNX.4.64.0604140936520.3701@g5.osdl.org>
Junio,
 the current git-stripspace leaves extra newlines at the end, causing ugly 
commit logs in "git log". I assume/suspect that it's the recent 
"incomplete line" handling (that I acked, bad me), but I didn't actually 
test.
Trivially tested thus:
	[torvalds@g5 git]$ git-stripspace <<EOF
	> a
	> 
	> EOF
	a
	
	[torvalds@g5 git]$ 
note the extra unnecessary newline..
		Linus
Next: Junio C Hamano
Message 1 of 2 in “git-stripspace breakage”
  1. Linus TorvaldsApr 14, 2006
  2. Junio C HamanoApr 14, 2006

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.