emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivalent of "bzr diff -rancestor:"


From: Teemu Likonen
Subject: Re: Equivalent of "bzr diff -rancestor:"
Date: Mon, 17 Nov 2014 19:50:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux)

Stefan Monnier [2014-11-17 09:45:58 -05:00] wrote:

> Say, I'm on local branch "foo" which tracks a remote branch "foo", and
> I'd like to see what are the changes on this branch foo compared to
> "master".

Don't know Bazaar very well so here is my guess about what you may want.
A diff between master's and foo's common ancestor and the tip of foo:

    git diff master...foo           # Three dots.

In other words, it's is a diff between A and B in the graph below.


    o---o---A---o---o----o master
             \
              \--o---o---B foo

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]