git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/3] Wrap the log text in some nice HTML to highlight the commit message

From
APAndy Parkins <andyparkins@gmail.com>
Date
Feb 23, 2007, 10:02 UTC
Message-ID
<200702231003.03361.andyparkins@gmail.com>
In-Reply-To
<e5bfff550702230003o5a24a422h7c52a544318da1d4@mail.gmail.com>
On Friday 2007 February 23 08:03, Marco Costalba wrote:
>  I finally apply and pushed your patches to
> git://repo.or.cz/qgit4.git, I have to say I really like your fancy
> html log message.

:-) I'm glad you like it. I was trying to make it look a bit like the email header in kmail. I'm a bit disappointed with it aesthetically, but I do find it makes it a lot easier to view the separate log components without much brain power.

> - Font family is set to TYPE_WRITER_FONT, but font size is not taken
> into account and seems fixed.
Ah yes - probably a one-liner to fix.  I'll patch soon.
> - There are some alignement issues in the header, sometimes author,
> date, etc.. are left shifted without a clear reason wasting valuable
> screen space.

Yes you are certainly correct. I'm going to point at Qt for the blame. I have no idea why it's adding that space. It goes away when the rowspan is removed from the short log part. Additionally, Qt (despite the documentation) seems to ignore width=100% to table or divs, so I can't make the header actually look as nice as it could.

Once I figure out how to make it look better I'll certainly post patches, but at the moment it's a fight between me and Qt :-) The solution, is going to be a compromise I think. I might have to make the short log non-centered and non-rowspanning :-(

> Anyway a nice job.
Thanks.
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Marco Costalba
Message 5 of 5 in “Re: [PATCH 1/3] Wrap the log text in some nice HTML to highlight the commit message”
  1. Andy ParkinsFeb 17, 2007
  2. Marco CostalbaFeb 18, 2007
  3. Andy ParkinsFeb 18, 2007
  4. Marco CostalbaFeb 23, 2007
  5. Andy ParkinsFeb 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.