{"thread":{"id":"3868","subject":"git-stripspace breakage","startedAt":"2006-04-14T16:40:03Z","lastAt":"2006-04-14T19:13:11Z","messageCount":2,"participants":["Linus Torvalds","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"18642","messageId":"Pine.LNX.4.64.0604140936520.3701@g5.osdl.org","threadId":"3868","inReplyTo":null,"subject":"git-stripspace breakage","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2006-04-14T16:40:03Z","receivedAt":"2006-04-14T16:40:03Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\nJunio,\n the current git-stripspace leaves extra newlines at the end, causing ugly \ncommit logs in \"git log\". I assume/suspect that it's the recent \n\"incomplete line\" handling (that I acked, bad me), but I didn't actually \ntest.\n\nTrivially tested thus:\n\n\t[torvalds@g5 git]$ git-stripspace <<EOF\n\t> a\n\t> \n\t> EOF\n\ta\n\t\n\t[torvalds@g5 git]$ \n\nnote the extra unnecessary newline..\n\n\t\tLinus\n"},{"id":"18647","messageId":"7v1ww0q8c8.fsf@assigned-by-dhcp.cox.net","threadId":"3868","inReplyTo":"Pine.LNX.4.64.0604140936520.3701@g5.osdl.org","subject":"Re: git-stripspace breakage","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-04-14T19:13:11Z","receivedAt":"2006-04-14T19:13:11Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Linus Torvalds <torvalds@osdl.org> writes:\n\n> Junio,\n>  the current git-stripspace leaves extra newlines at the end, causing ugly \n> commit logs in \"git log\". I assume/suspect that it's the recent \n> \"incomplete line\" handling (that I acked, bad me), but I didn't actually \n> test.\n\nBad me too indeed.  I noticed it last night after writing\n\"What's in\" message.  Will fix shortly.\n\nThanks.\n"}]}