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

Re: [PATCH (amend)] gitweb: Slight visual improvements to commitdiff view

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 26, 2006, 23:50 UTC
Message-ID
<200610270150.40100.jnareb@gmail.com>
In-Reply-To
<20061026233439.37073.qmail@web31811.mail.mud.yahoo.com>
Luben Tuikov wrote:
Show 8 quoted lines
> Can you please explain what both patches actually do?
> 
> "slight visual improvements to commitdiff view" leaves
> much, _much_ to be desired and is hardly a commit message
> suitable to live in git.git.
> 
> Please describe what you found objectionable, why, how
> you decided to fix it and why you decided to fix it that way.

Adding difftree/whatchanged output to commitdiff view was somewhat hasty, without taking care of details like separator between message body and difftree, and separator between difftree and patchset.

First, I have removed creating empty divs. The div with number of changed files in git_difftree_body is added only if the message about number of changed files is displayed (above 10).

Second, I have moved commit message body in commitdiff outside "page_body" div, to be together with "author_date" div with authorship info. The name of class was changed from "log" to more informative "commitdiff_log". This required some changes and additions to CSS. Now "commitdiff_log" div is responsible for displaying line separatring it from "page_body".

I have added not full line above "patchset" div (between patchet and difftree). It is added by "patchset" div and separated by 8px padding.

Those changes might wait for proper refactoring of gitweb CSS (having for example 8px padding in one place only).

-- 
Jakub Narebski
Previous: Luben TuikovNext: Luben Tuikov
Message 3 of 6 in “gitweb: Slight visual improvements to commitdiff view”
  1. gitweb: Slight visual improvements to commitdiff viewJakub Narebski, Oct 26, 2006
  2. Luben TuikovOct 26, 2006
  3. Jakub NarebskiOct 26, 2006
  4. Luben TuikovOct 27, 2006
  5. Junio C HamanoOct 27, 2006
  6. Petr BaudisOct 27, 2006

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.