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: gl <>
Date: Fri, 24 Feb 2006 17:13:37 -0000


> Each changed file has an obvious header. If you don't intend to change
> that file, simply delete the section to the next file header.

That part I figured out : ).

> Within a file, each change section has a flag showing the starting line
> and number of lines that were removed in the section and then the starting
> line and number of lines that were added.
> Example:
> _at__at_ -26,6 +26,8 _at__at_
> The above example, starting at line 26 I "deleted" 6 lines and then added
> 8 lines (actually, I changed 6 lines and then *added 6 lines*).

'added 2 lines' right?

Keeping track of which lines were removed and which added seems confusing,
but I'm sure I could get the hang of it. Worse though is that any line
number changes need to ripple downwards. So if I delete a hunk part-way
through, all the other hunks (from the same source file) would need to be
adjusted accordingly, and on large files with large changes this gets
nightmarish fast.
Received on 2006-02-24

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