threads / discuss / 3868

git-stripspace breakage

Subject: git-stripspace breakage

## tl;dr

2 messages between Apr 14, 2006 and Apr 14, 2006.

replies: 1people: 2as markdown or json

Linus Torvalds· Apr 14, 2006, 16:40 UTC · lore
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
Junio C Hamano· Apr 14, 2006, 19:13 UTC · re: Linus Torvalds · lore

Re: git-stripspace breakage

Linus Torvalds <torvalds@osdl.org> writes:
Show 5 quoted lines
> 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.

Bad me too indeed. I noticed it last night after writing "What's in" message. Will fix shortly.

Thanks.

← back to recent threads