FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-03-2010, 07:08 AM
Rob Gom
 
Default Graphical diff/patch viewer

Hi all,
do you know/is there any graphical patch/diff viewer in Debian (or for
Linux in general)? Such a tool would produce side by side view of
changes/deletions/inserts.
There is kompare for KDE, but it is unreliable - produces false
results for specific patches (bug not reported yet, as I have to
reproduce it with something I can make
public). To be honest, I have looked at meld, beyond compare, diffuse,
xxdiff, tkdiff and found nothing appropriate.
Do you know anything else? Have I missed anything?

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTiky2SVHgRAZZ1W1R4THmcLO6493R5e7MwGO+f08@mail .gmail.com">http://lists.debian.org/AANLkTiky2SVHgRAZZ1W1R4THmcLO6493R5e7MwGO+f08@mail .gmail.com
 
Old 11-03-2010, 07:20 AM
Volkan YAZICI
 
Default Graphical diff/patch viewer

On Wed, 3 Nov 2010, Rob Gom <rgom.debian@gmail.com> writes:
> do you know/is there any graphical patch/diff viewer in Debian (or for
> Linux in general)? Such a tool would produce side by side view of
> changes/deletions/inserts.
> There is kompare for KDE, but it is unreliable - produces false
> results for specific patches (bug not reported yet, as I have to
> reproduce it with something I can make
> public). To be honest, I have looked at meld, beyond compare, diffuse,
> xxdiff, tkdiff and found nothing appropriate.

Not appropriate in what sense?

> Do you know anything else? Have I missed anything?

There is diff modes in emacs, eclipse, netbeans, etc. Did you try them
as well?


Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87sjzi7r8e.fsf@alamut.ozu.edu.tr">http://lists.debian.org/87sjzi7r8e.fsf@alamut.ozu.edu.tr
 
Old 11-03-2010, 08:00 AM
Rob Gom
 
Default Graphical diff/patch viewer

On Wed, Nov 3, 2010 at 9:20 AM, Volkan YAZICI <yazicivo@ttmail.com> wrote:
> On Wed, 3 Nov 2010, Rob Gom <rgom.debian@gmail.com> writes:
>> do you know/is there any graphical patch/diff viewer in Debian (or for
>> Linux in general)? Such a tool would produce side by side view of
>> changes/deletions/inserts.
>> There is kompare for KDE, but it is unreliable - produces false
>> results for specific patches (bug not reported yet, as I have to
>> reproduce it with something I can make
>> public). To be honest, I have looked at meld, beyond compare, diffuse,
>> xxdiff, tkdiff and found nothing appropriate.
>
> Not appropriate in what sense?
>

I want to preview a patch, not compare directory/file contents. The
tools above can't load a patch and display it, unless
I missed something obvious.

I'm afraid that Eclipse would be too big for such purpose, but taking
into consideration its feature richness and flexibility,
I would give it a chance.

Thanks for the answer,
Robert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTiknocfS5L-qzziYwtaRAsa=FV5LZr7FWYcQ7bjV@mail.gmail.com">http ://lists.debian.org/AANLkTiknocfS5L-qzziYwtaRAsa=FV5LZr7FWYcQ7bjV@mail.gmail.com
 
Old 11-03-2010, 09:00 AM
Javier Barroso
 
Default Graphical diff/patch viewer

Hi,
On Wed, Nov 3, 2010 at 10:00 AM, Rob Gom <rgom.debian@gmail.com> wrote:
> On Wed, Nov 3, 2010 at 9:20 AM, Volkan YAZICI <yazicivo@ttmail.com> wrote:
>> On Wed, 3 Nov 2010, Rob Gom <rgom.debian@gmail.com> writes:
>>> do you know/is there any graphical patch/diff viewer in Debian (or for
>>> Linux in general)? Such a tool would produce side by side view of
>>> changes/deletions/inserts.
>>> There is kompare for KDE, but it is unreliable - produces false
>>> results for specific patches (bug not reported yet, as I have to
>>> reproduce it with something I can make
>>> public). To be honest, I have looked at meld, beyond compare, diffuse,
>>> xxdiff, tkdiff and found nothing appropriate.
Apply the patch in a tmp directory and then use meld, vimdiff, or what you like

I don't see the point of viewing a patch side-by-side, understanding
the format should be enough

Regards,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTin+cWjZsS-2=NgnXCUFnhFE_9DUZTDaVHDObJsk@mail.gmail.com">http ://lists.debian.org/AANLkTin+cWjZsS-2=NgnXCUFnhFE_9DUZTDaVHDObJsk@mail.gmail.com
 
Old 11-03-2010, 10:26 AM
Gregory Seidman
 
Default Graphical diff/patch viewer

On Wed, Nov 03, 2010 at 09:08:13AM +0100, Rob Gom wrote:
> Hi all,
> do you know/is there any graphical patch/diff viewer in Debian (or for
> Linux in general)? Such a tool would produce side by side view of
> changes/deletions/inserts.
> There is kompare for KDE, but it is unreliable - produces false
> results for specific patches (bug not reported yet, as I have to
> reproduce it with something I can make
> public). To be honest, I have looked at meld, beyond compare, diffuse,
> xxdiff, tkdiff and found nothing appropriate.
> Do you know anything else? Have I missed anything?

You have to be comfortable in vim, but you can use the following:

gvim "+vert diffpatch <patchfile>" <originalfile>

If you aren't comfortable with vim, you *might* be able to use the
following, but no guarantees (I don't have a patch file handy to determine
whether this will work):

gvim -y "+vert diffpatch <patchfile>" <originalfile>

> Regards,
> Robert
--Greg


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101103112635.GN10309@anthropohedron.net">http://lists.debian.org/20101103112635.GN10309@anthropohedron.net
 
Old 11-03-2010, 12:00 PM
Jochen Schulz
 
Default Graphical diff/patch viewer

Rob Gom:
>
> do you know/is there any graphical patch/diff viewer in Debian (or for
> Linux in general)? Such a tool would produce side by side view of
> changes/deletions/inserts.

Apart from vimdiff: have you tried Kdiff3?

J.
--
I can tell a Whopper[tm] from a BigMac[tm] and Coke[tm] from Pepsi[tm].
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
 
Old 11-03-2010, 05:27 PM
"Boyd Stephen Smith Jr."
 
Default Graphical diff/patch viewer

In <AANLkTiky2SVHgRAZZ1W1R4THmcLO6493R5e7MwGO+f08@mai l.gmail.com>, Rob Gom
wrote:
>There is kompare for KDE, but it is unreliable - produces false
>results for specific patches.

Odd. I use it all the time and haven't seen it be inconsistent. It fails
indicate files have changed when git uses "Binary files a and b differ." as
the patch text, but it shows all the other changes. There are some Kompare
options that you may want to set/clear though.

I'd be very interested in seeing a case where kompare displays a valid patch
incorrectly.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
 
Old 11-04-2010, 08:20 AM
Rob Gom
 
Default Graphical diff/patch viewer

On Wed, Nov 3, 2010 at 11:00 AM, Javier Barroso <javibarroso@gmail.com> wrote:
[cut]
> Apply the patch in a tmp directory and then use meld, vimdiff, or what you like
>

Why should I do such operation? Only to satisfy some tools? I don't
need/want to apply huge patches to huge source trees. I want to
preview them separately. It is possible with kompare, so is possible
in general.

> I don't see the point of viewing a patch side-by-side, understanding
> the format should be enough
>

It's a matter of personal preferences. I prefer viewing patches that
way, I find it more convenient.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTi=U+oKzoJdZnNxFRcKO-NcLZ=KH6E4V4c-H7r3x@mail.gmail.com">http://lists.debian.org/AANLkTi=U+oKzoJdZnNxFRcKO-NcLZ=KH6E4V4c-H7r3x@mail.gmail.com
 
Old 11-04-2010, 08:27 AM
Rob Gom
 
Default Graphical diff/patch viewer

On Wed, Nov 3, 2010 at 7:27 PM, Boyd Stephen Smith Jr.
<bss@iguanasuicide.net> wrote:
> In <AANLkTiky2SVHgRAZZ1W1R4THmcLO6493R5e7MwGO+f08@mai l.gmail.com>, Rob Gom
> wrote:
>>There is kompare for KDE, but it is unreliable - produces false
>>results for specific patches.
>
> Odd. *I use it all the time and haven't seen it be inconsistent. *It fails
> indicate files have changed when git uses "Binary files a and b differ." as
> the patch text, but it shows all the other changes. *There are some Kompare
> options that you may want to set/clear though.
>
> I'd be very interested in seeing a case where kompare displays a valid patch
> incorrectly.

Thanks for the answer.
1. There's an open bug against kompare about saying "this patch is
incorrect" for perfectly fine patches (kde bugs).
2. My bug occurs for patches with several directories/files modified.
Some example. For patch containing modifications for the following
files:
a/b/c/d.txt
a/b/c/e.txt
a/b/c/f.txt
a/g/h/i.txt
a/g/h/j.txt
a/g/h/k.txt

Kompare would create the following directory graph:
a
g
c
d.txt
e.txt
f.txt
h
i.txt
j.txt
k.txt

instead of expected
a
b
c
d.txt
e.txt
f.txt
g
h
i.txt
j.txt
k.txt

Some parts of directory tree are put in invalid places.

I will try to report a bug, but for that I must recreate working
example, which may take a while.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/AANLkTikcCoAJ63v1dL-QJCj8_0qhG2KjjAg4OS4M3@mail.gmail.com
 
Old 11-04-2010, 08:28 AM
Rob Gom
 
Default Graphical diff/patch viewer

On Wed, Nov 3, 2010 at 2:00 PM, Jochen Schulz <ml@well-adjusted.de> wrote:
> Rob Gom:
>>
>> do you know/is there any graphical patch/diff viewer in Debian (or for
>> Linux in general)? Such a tool would produce side by side view of
>> changes/deletions/inserts.
>
> Apart from vimdiff: have you tried Kdiff3?
>
[cut]
Can't preview a diff with kdiff3. Is there an option to do that?

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimsO5r_x+wHdQDVX22nRDsWoQ29J0zHVirb=3jB@mail .gmail.com">http://lists.debian.org/AANLkTimsO5r_x+wHdQDVX22nRDsWoQ29J0zHVirb=3jB@mail .gmail.com
 

Thread Tools




All times are GMT. The time now is 06:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org