[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Equivalent of "bzr diff -rancestor:"
From: |
Stefan Monnier |
Subject: |
Re: Equivalent of "bzr diff -rancestor:" |
Date: |
Mon, 17 Nov 2014 12:40:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> 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".
>> In Bazaar, I'd do something like "bzr diff -r ancestor:<master>"
>> but I can't find any equivalent in "man gitrevisions".
> Do you mean "git diff $(git merge-base HEAD master)"?
Hmm... yes, exactly, thanks!
Now the next problem: `C-x v =' doesn't like
$(git merge-base HEAD master)
:-(
Stefan