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

Re: Suggestions for cgit (was: Re: suggestions for gitweb)

From
LHLars Hjemli <hjemli@gmail.com>
Date
May 14, 2007, 08:50 UTC
Message-ID
<8c5c35580705140150i85ef898h6ac0475ab12f8a03@mail.gmail.com>
In-Reply-To
<200705140931.32513.jnareb@gmail.com>
On 5/14/07, Jakub Narebski <jnareb@gmail.com> wrote:
Show 17 quoted lines
> On Sun, 13 May 2007, Lars Hjemli <hjemli@gmail.com> wrote:
>
> > I've implemented number of files/lines changed in cgit's log view and
> > pushed it to http://hjemli.net/git/
> >
> > It does consume some cpu (especially on the linux-2.6 repo), but it's
> > not terribly bad (and the caching helps out). But I felt like changing
> > the number of commits per page to 50, so I added a knob for this in
> > the config file while at it.
> >
> > I'll try to get a proper diffstat on the commit page + file history
> > via tree view next (filesize has always been part of cgits tree view
> > btw).
>
> What I lack in cgit is using git diff and showing extended diff headers
> (and the ugly tight box around diff doesn't help either), and gitweb's
> 'commitdiff' view / git's git-show / git's git-format-patch.

Yes, this has been lacking. Last night I pushed initial support for 'commitdiff', but it doesn't show git's extended diff headers, nor is there any plain/patch view (but the ugly tiny box is still there, I'm lousy at web design :)

That said, extended headers/patch view should be trivial to support so I'll look into it.

> I don't think displaying filesize slows cgit much (you need to find and
> read object header for that, as this information is not present in a
> tree object...
True, I do
  type = sha1_object_info(sha1, &size)
per entry in tree view to get the size. It's fast.
> By the way, what do you think about http://git.or.cz/gitwiki/Gitweb
> page?

Nice, I hadn't noticed this page, maybe cgit should get one too? Well, it probably should get some users first (are there anyone besides myself?)

-- 
larsh
Previous: Jakub NarebskiNext: Lars Hjemli
Message 9 of 21 in “suggestions for gitweb”
  1. Michael NiedermayerMay 12, 2007
  2. Junio C HamanoMay 12, 2007
  3. Aaron GrayMay 12, 2007
  4. Jakub NarebskiMay 13, 2007
  5. Junio C HamanoMay 13, 2007
  6. Jakub NarebskiMay 13, 2007
  7. Lars HjemliMay 13, 2007
  8. Suggestions for cgit (was: Re: suggestions for gitweb)Jakub Narebski, May 14, 2007
  9. Lars HjemliMay 14, 2007
  10. Lars HjemliMay 15, 2007
  11. Michael NiedermayerMay 13, 2007
  12. Jakub NarebskiMay 13, 2007
  13. Junio C HamanoMay 14, 2007
  14. Petr BaudisMay 14, 2007
  15. Michael NiedermayerMay 14, 2007
  16. Petr BaudisMay 14, 2007
  17. Michael NiedermayerMay 14, 2007
  18. Petr BaudisMay 14, 2007
  19. Jakub NarebskiMay 14, 2007
  20. Michael NiedermayerMay 14, 2007
  21. Jan HudecMay 15, 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.