dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Editing .patch files?

Re: Editing .patch files?

From: David Bryant <>
Date: Fri, 24 Feb 2006 13:02:50 -0800

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?
> --
> gl
Received on 2006-02-24

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy