public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andreas Krey <a.krey@gmx•de>
To: Git Mailing List <git@vger•kernel.org>
Subject: Re: Remote's 'currently active branch' not HEAD?
Date: Tue, 3 Sep 2013 14:37:33 +0200	[thread overview]
Message-ID: <20130903123733.GR12966@inner.h.apk.li> (raw)
In-Reply-To: <20130903114831.GA8559@inner.h.apk.li>

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.

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

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

  reply	other threads:[~2013-09-03 12:37 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 [this message]
2013-09-03 13:02     ` Michael Schubert
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=20130903123733.GR12966@inner.h.apk.li \
    --to=a.krey@gmx$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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