Tzahi Fadida wrote:
On Monday 05 March 2007 19:40, guy keren wrote:
On Mon, 5 Mar 2007, Tzahi Fadida wrote:
Date: Mon, 5 Mar 2007 16:03:49 +0200
From: Tzahi Fadida <[EMAIL PROTECTED]>
To: Alexander Indenbaum <[EMAIL PROTECTED]>
Cc: Israel Linux Mailing list <[email protected]>
Subject: Re: Visual diff tool for patches.

On Monday 05 March 2007 14:33, Alexander Indenbaum wrote:
Did not see you mentioned meld specifically. Anyway I could sugest the
following procedure.

You could prepare two copies of the source tree: "pristine" and
"modified", where "modified" is "pristine" with patch applied.

Then fire up meld (or any other merge tool) and just apply/move
changes one by one from "modified" to "pristine".

Hope it helps.
That is a good idea and i am going to use it, however, it is very tiring
to do so for each patch i receive. There got to be a better way, even
from the console but interactive so i can approve or disapprove of a
certain part. I mean, how do kernel developers work with this. You cannot
cut/paste all the time with manymany patches instead of clicking like in
kdiff and friends. There got to be a better arrangement.
who said anything about copy and paste? all you do is:

cp -rp original/ modified
apply patch to modified.
run the diff tool (meld, tkdiff, whatever) between original and modified.

That is a good idea, however, i only wish to automate this for the patched files (since i don't want to copy 20mb of files just for the few patched files). How can i only copy the files to be patched, let's say to /tmp and then run the patch on them.

look at the patch file - it has a very simple general format. i think you can grep for the file names in it, and with little parsing get the list of affected files.

--guy

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to