threads / discuss / 19776

side-by-side diff for gitweb?

Subject: side-by-side diff for gitweb?

## tl;dr

3 messages between Jun 11, 2009 and Jun 26, 2009.

replies: 2people: 2as markdown or json

E R· Jun 11, 2009, 19:41 UTC · lore
Is there a a side-by-side diff viewer for gitweb?
If not, any suggestions for the best way to go about implementing one?

Thanks, ER

Jakub Narebski· Jun 11, 2009, 20:03 UTC · re: E R · lore

Re: side-by-side diff for gitweb?

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
E R· Jun 26, 2009, 01:38 UTC · re: Jakub Narebski · lore

Re: side-by-side diff for gitweb?

Here's something that could help:
http://svn.tools.ietf.org/tools/rfcdiff/
I don't like their colors, but that should be easy to change.
On Thu, Jun 11, 2009 at 3:03 PM, Jakub Narebski<jnareb@gmail.com> wrote:
Show 20 quoted lines
> 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
>

← back to recent threads