<div class="gmail_quote">On Tue, Mar 8, 2011 at 6:30 PM, Éric Araujo <span dir="ltr"><<a href="mailto:merwok@netwok.org">merwok@netwok.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What’s the command you use with git? Maybe someone will find the</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Mercurial one.<br></blockquote><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><div>Something like the following, assuming we're both working on branch "master" to begin with.</div>
<div><br></div>git fetch their-repository master:experimental-branch</div><div class="gmail_quote">git diff master...experimental-branch</div><div class="gmail_quote"><br></div><div class="gmail_quote">The idea is to pull their remote branch but not merge it, which will create multiple heads locally. Then find the common ancestor of my regular local head and the new head, and diff the ancestor with the new head.</div>
</div></div><br>-- <br>Daniel Stutzbach<br>