On Wed, May 30, 2018 at 09:15:04AM -0400, Chet Ramey wrote: > On 5/29/18 8:25 PM, Marty E. Plummer wrote: > > >> If people are willing to do the conversion between patch formats for their > >> own purposes, more power to them. I don't see any compelling reason to > >> change the format I use. > >> > > Could I at least convince you to start doing -p1, if not unified? > > Why -p1? > Well, as I said, debian and fedora convert to -p1 unified, as current debian packages using the quilt 3.0 format expect -p1; I'm unsure as to the rationale for fedora doing it. And gentoo expects -p1 by default for patches applied by eapply (though you can specify -p0 in the ebuild, it is a deviation from the defaults).
I don't believe debian actually needs a unified diff, but quilt 3.0 requires -p1 (see https://lists.debian.org/debian-devel/2009/03/msg00368.html). > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/