Diff format?

Jelmer Vernooij jelmer at samba.org
Mon Jan 10 18:58:44 UTC 2011


On Mon, 2011-01-10 at 20:53 +0200, Eli Zaretskii wrote:
> > From: Jelmer Vernooij <jelmer at samba.org>
> > Cc: bazaar at lists.canonical.com
> > Date: Mon, 10 Jan 2011 00:50:43 +0100
> > 
> > On Sun, 2011-01-09 at 21:28 +0200, Eli Zaretskii wrote:
> > > "bzr help diff" says, inter alia:
> > > 
> > >   --format=ARG          Diff format to use.
> > > 
> > > But I found no description of what ARG could be.  Did I miss
> > > something?
> > I submitted a merge proposal to improve this a while ago that needs
> > some more work before it can be merged.
> > 
> > At the moment the formats I'm aware of include "default", "git" (with
> > bzr-git installed) and "svn" (with bzr-svn installed).
> 
> Thanks.
> 
> So, if I install bzr-git, I will be able to say "bzr diff --format=git" 
> and get output like with "git diff", is that it?  But if so, why do I
> need bzr-git for this, the git format being quite similar to what we
> have natively in bzr?  What am I missing?
The git format e.g. prints the git SHA1s (which is not a header of the
file fulltext), ignores directories and uses the git rename heuristics.
Why bzr-git is necessary for this.

Cheers,

Jelmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110110/cc57f531/attachment.pgp>


More information about the bazaar mailing list