git hilarity (was: Re: server-1.2-branch accidentally merged with master)

Daniel Stone daniel at fooishbar.org
Tue Oct 10 04:14:51 PDT 2006


On Tue, Oct 10, 2006 at 07:03:49AM -0400, Sean wrote:
> On Tue, 10 Oct 2006 13:39:58 +0300
> Daniel Stone <daniel at fooishbar.org> wrote:
> > While we're here, a couple of things I'd like to know:
> >   * What's the syntax for 'diff remote branch foo to mine'?  I was
> >     trying to diff origin:input-hotplug to .:input-hotplug the other
> >     day, and couldn't work out how.  ('gitk' is not the answer I'm
> >     looking for here.)
> 
> Git doesn't support this directly.  You're expected to fetch the
> remote branch into your repository and then diff against it like
> any other.

Wow, that sucks.  Is there any particular reason?  I just want to see
what will happen if I type 'git push origin input-hotplug'.

Thanks for the quick answers (and Michel too).

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20061010/a4749e9a/attachment.pgp>


More information about the xorg mailing list