Why -p0 format patches?

Michael Ellerman michael at ellerman.id.au
Wed Jul 13 06:55:53 BST 2005


On Mon, 11 Jul 2005 17:56, Martin Pool wrote:
> On 11 Jul 2005, Michael Ellerman <michael at ellerman.id.au> wrote:
> > Just a query, what was the reasoning behind "bzr diff" producing -p0
> > patches rather than -p1 patches? Because CVS/svn/.. do it?
>
> It's a bit arbitrary; I think some people in the early days preferred
> it.  Is there any stronger reason than personal preference for one or
> the other?

Not really. Except that -p1 is Linus' personal perference, so there's a lot of 
kernel people who are used to that format.

> > +++ TARGETbzrlib/commands.py
>
> I thought that was just a bug?  If we're going to have prefixes it'd
> definitely be better to use -p1.

Agreed.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050713/8bd979e2/attachment.pgp 


More information about the bazaar mailing list