From: Robin Rosenberg Date: Tue, 25 Mar 2008 19:48:48 GMT Subject: Re: faster egit history page and a pure java "gitk" Message-ID: <200803252048.48531.robin.rosenberg@dewire.com> In-Reply-To: <47E90246.3030509@intelinet.com.br> Den Tuesday 25 March 2008 14.46.46 skrev Roger C. Soares: > I understand that you guys use a lot of ASCII art and wrapping can mess > this. But here we track more things in bugzilla and there's some > copy&pasting going on, so wrapping makes comments more readable. > Currently it's a toogle preference in the local toolbar menu (like the > CVS plugin). It seems to me ASCII art should be auto-detectable... Maybe enough to make the wrap flag unneeded in most cases. (wrap/nowrap/auto). At first I was thinking about looking for special chars, but then it may be simpler and just as useful to look for comment lines start with spaces ane a few special characters. Try this command: git log | sed 's/^ [\t |\\\/>]/| /' | less. It seems to detect lines that I do not want wrapped pretty well. -- robin