Why -p0 format patches?
Martin Pool
mbp at sourcefrog.net
Mon Jul 11 08:56:04 BST 2005
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?
> It's a bit of a pain for me, being used to -p1 format. And I notice now that
> changesets look like:
>
> +++ 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.
>
> Which is kind of a hack, and would look nicer as:
>
> +++ TARGET/bzrlib/commands.py
>
> Just a thought. I guess it's too late now anyway.
>
> cheers
>
--
Martin
More information about the bazaar
mailing list