xserver: Branch 'refs/remotes/origin/glucose-2' - 28 commits

Daniel Stone daniel at fooishbar.org
Thu Sep 27 10:24:07 PDT 2007


On Thu, Sep 27, 2007 at 01:18:41PM -0400, Sean wrote:
> On Thu, 27 Sep 2007 15:49:34 +0100
> Alan Hourihane <alanh at fairlite.demon.co.uk> wrote:
> > On Thu, 2007-09-27 at 17:23 +0300, Daniel Stone wrote:
> > > 'git push origin' is all you want to run.  Sometimes 'git push origin
> > > glucose-2'.  But anything else will give you random branches, so don't
> > > do that.  git push --all is also a bad idea.
> > 
> > All I did was "git push origin" but I saw it push the
> > refs/remotes/origin/glucose-2 too.
> > 
> > Bizarre.
> 
> The above behavior is to be expected if you have a local branch named "glucose-2".
> Unless a refspec is passed to git-push it will push all local branches which have
> the same name as one existing in the target repo.
> 
> Were you expecting it to only push the currently checked out branch, or is
> there a different issue i'm failing to understand?

The issue is that it pushed refs/remotes/origin/glucose-2: i.e., the
master repo suddenly got
/srv/git.freedesktop.org/git/xorg/xserver.git/refs/remotes/origin/glucose-2.

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/20070927/fe96c340/attachment.pgp>


More information about the xorg mailing list