Lobbying for -p1 diffs
Michael Ellerman
michael at ellerman.id.au
Thu Mar 2 01:01:33 GMT 2006
On Thu, 2 Mar 2006 11:52, Matthew D. Fuller wrote:
> As well, it throws me because it makes me automatically think that the
> --- and +++ files are _different_ files, since the paths are different
> from the start.
They _are_ different files, a patch describes the differences between two
files. Try generating a -p0 diff of the same file without using a VCS.
> I can just imagine the conversations showing people how to use bzr.
>
> "OK, now you do a `bzr diff`, and it'll show you your changes in diff
> format."
>
> "Why is it saying a/foo.c? I don't have an a/ directory. Or a b/
> directory, either. Why's it add that extra gloop in there, instead of
> just telling me what file changed?"
You're probably right. I've seen lots of bug reports against
quilt/git/mercurial about the "gloop" in their diffs. Why are we still
talking about this! :)
cheers
--
Michael Ellerman
IBM OzLabs
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/20060302/9bc3e04b/attachment.pgp
More information about the bazaar
mailing list