Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Editing .patch files?

Re: Editing .patch files?

From: David Bryant <dbryant_at_impulse.net>
Date: 2006-02-24

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
to
> 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
mods
> I don't want is tricky where features overlap files, due to the way .patch
> files work. How does everybody else do this?
> --
> gl
>
>
Received on Fri Feb 24 22:03:35 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa