git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Schubert <mschub@elegosoft.com>
To: Andreas Krey <a.krey@gmx.de>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Remote's 'currently active branch' not HEAD?
Date: Tue, 3 Sep 2013 15:02:50 +0200	[thread overview]
Message-ID: <20130903130250.GB20459@pc.elego.de> (raw)
In-Reply-To: <20130903123733.GR12966@inner.h.apk.li>

On Tue, Sep 03, 2013 at 02:37:33PM +0200, Andreas Krey wrote:
> On Tue, 03 Sep 2013 13:48:31 +0000, Andreas Krey wrote:
> ...
> > I now have a sample repo that reproduces this behaviour.
> > Unpack tar file, clone, see clone having 'wrong' branch
> > checked out, apparently independent of the transport:
> 
> Ouch, it looks like 'git clone' doesn't actually know
> the 'current remote branch' but picks one of those that
> happen to have the HEAD *commit* as their tip.

Yes, it picks the first of those:

http://thread.gmane.org/gmane.comp.version-control.git/168144

> At least the 'git clone' doc would be misleading then.

  reply	other threads:[~2013-09-03 13:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 10:46 Remote's 'currently active branch' not HEAD? Andreas Krey
2013-09-03 11:48 ` Andreas Krey
2013-09-03 12:37   ` Andreas Krey
2013-09-03 13:02     ` Michael Schubert [this message]
2013-09-03 13:50       ` Andreas Krey
2013-09-03 15:33         ` Junio C Hamano
2013-09-06 11:41           ` Andreas Krey
2013-09-06 12:54             ` Andreas Krey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130903130250.GB20459@pc.elego.de \
    --to=mschub@elegosoft.com \
    --cc=a.krey@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).