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



Rockbox mail archive

Subject: Re: question about line numbers in patches

Re: question about line numbers in patches

From: Greg Haerr <greg_at_censoft.com>
Date: Sat, 29 Dec 2007 17:32:57 -0700

: Also why is there a a - and a + sign used before the numbers.

The - and + reference the two files being diffed, and match
the upcoming patch lines which are preceded by - and +.
In your case, the - file references the first file and the +
references the second file in the diff.

: _at__at_ -41,6 +41,8.

This means that starting at line 41, six lines are to
be replaced by 8 lines. The detail is in the following
lines. Lines with - are to be removed, lines with +
are to be added, and other lines remain the same.

Regards,

Greg
Received on 2007-12-30

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