On Jun 2, 2015, at 3:38 PM, René J.V. Bertin <[email protected]> wrote:

> On Tuesday June 02 2015 15:09:48 Lawrence Velázquez wrote:
> 
>> Okay; I wasn't sure if patch could deal with them.
> 
> Patchfiles (at least unified diffs) have context, which is why you get those 
> weird @@ lines in them: they describe where to expect the pattern to be 
> found, but also how many of the lines following the @@ are to be included in 
> that pattern.

Yes, I know how to read (and edit) context diffs.

> Patchfiles in Linux packages routinely contain the commit message because 
> that helps understand what the patch does, and it's not uncommon to find 
> similar patches in ${filespath} directories.

I knew that patches could have ancillary text at the top. What I didn't know 
was that said text could be interspersed between hunks as well.

vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to