gitk: Cope with commit messages with carriage-returns and initial blank lines
authorPaul Mackerras <paulus@samba.org>
Wed, 27 Sep 2006 00:56:02 +0000 (10:56 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 23 Jun 2007 10:55:43 +0000 (20:55 +1000)
commit43c25074381dea404518318dacd360ed4f2abf3d
treeb50a392dfc55ee9468fca78ec7510e3ef2b620d1
parent7eb3cb9c683624681541972910328054e9431b43
gitk: Cope with commit messages with carriage-returns and initial blank lines

In some repositories imported from other systems we can get carriage
return characters in the commit message, which leads to a multi-line
headline being displayed in the summary window, which looks bad.
Also some commit messages start with one or more blank lines, which
leads to an empty headline.  This fixes these problems.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk