Rockbox mail archiveSubject: 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.
Received on 2007-12-30