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