Rockbox mail archive
Subject: Re: Editing .patch files?
Re: Editing .patch files?
I would suggest (as someone else did) that you do a clean check-out and move
the changes that you want for a given patch into the clean code. Because of
the complexities you mention, I suspect that it's a lot easier to just edit
the changes you want to make in the actual code than in the patch file. Once
your change is made and tested and compiled on another platform or two (even
if you have no way to run them) then you can make a fresh patch.
Just a suggestion from the certifiably anal. :)
> OK, I'm new to the world of diff and patch. I've added about 4 features
> a CVS build (spread over many files), and want to create a .patch file for
> just one of them for submission.
> I can generate a total patch against CVS, but editing it to remove the
> I don't want is tricky where features overlap files, due to the way .patch
> files work. How does everybody else do this?
Received on Fri Feb 24 22:03:35 2006
Page was last modified "Jan 10 2012" The Rockbox Crew