# side-by-side diff for gitweb?

3 messages from 2009-06-11 to 2009-06-26. Participants: E R, Jakub Narebski.
Thread: https://gitlist.dev/t/19776

## E R, 2009-06-11 19:41

Subject: side-by-side diff for gitweb?
Message-ID: <3a69fa7c0906111241w3d105003xecb44125822ac501@mail.gmail.com>
URL: https://gitlist.dev/e/3a69fa7c0906111241w3d105003xecb44125822ac501%40mail.gmail.com

```
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, 2009-06-11 20:03

Subject: Re: side-by-side diff for gitweb?
Message-ID: <m3zlce35ds.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3zlce35ds.fsf%40localhost.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

```

## E R, 2009-06-26 01:38

Subject: Re: side-by-side diff for gitweb?
Message-ID: <3a69fa7c0906251838i7d6aa623y87cea3870db6a7fe@mail.gmail.com>
URL: https://gitlist.dev/e/3a69fa7c0906251838i7d6aa623y87cea3870db6a7fe%40mail.gmail.com
In-Reply-To: <m3zlce35ds.fsf@localhost.localdomain>

```
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:
> 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
>

```
