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

Re: side-by-side diff for gitweb?

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 11, 2009, 20:03 UTC
Message-ID
<m3zlce35ds.fsf@localhost.localdomain>
In-Reply-To
<3a69fa7c0906111241w3d105003xecb44125822ac501@mail.gmail.com>
E R <pc88mxer@gmail.com> writes:
> Is there a a side-by-side diff viewer for gitweb?

No, it is for a long time on TODO list for gitweb, but it never got implemented.

> If not, any suggestions for the best way to go about implementing one?

Take a look at other web interfaces in Perl, and find how they do it (IIRC Codestriker web review tool is in Perl, and has side-by-side diffs). Ask on #perl. Ask on perlmongers. Search CPAN[1].

[1] Note that we frown upon introducing extra dependencies for gitweb, unless they are optional, and best detected automatically.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: E RNext: E R
Message 2 of 3 in “side-by-side diff for gitweb?”
  1. E RJun 11, 2009
  2. Jakub NarebskiJun 11, 2009
  3. E RJun 26, 2009

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.