Re: diff <commit> using 3-dot behavior
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Aug 24, 2016, 20:48 UTC
- Message-ID
- <CA+P7+xpv--eA8rdgwGLRCucSpVD5X9LjiN3_3Oo9o4L0t5Uk9Q@mail.gmail.com>
- In-Reply-To
- <xmqqbn0irvan.fsf@gitster.mtv.corp.google.com>
On Wed, Aug 24, 2016 at 9:22 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> The merge-base is to compute the point you forked your topic from > the mainline. So if you want to compare your current state in the > index with the fork point, you'd do > > git diff --cached $(git merge-base master topic) > > and comparing your working tree state would be > > git diff --cached $(git merge-base master topic) >
Those are both identical?
Thanks, Jake