git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Remote's 'currently active branch' not HEAD?
@ 2013-09-03 10:46 Andreas Krey
  2013-09-03 11:48 ` Andreas Krey
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Krey @ 2013-09-03 10:46 UTC (permalink / raw)
  To: Git Mailing List

Hi everyone,

I have a strange behaviour from a bare repo I inherited;
when I clone from that one (ssh) the branch checked out
is *not* the one referenced in HEAD in the remote repo,
but apparently some variation of the alphabetically first
or temporally last, or the last *new* branch pushed.

Where would I look to find the reason for this behaviour?
How does git transfer the 'current branch' info during the clone?

There is no 'master' branch in the original bare repo,
but HEAD points to a valid value (refs/heads/r1).

Testing with another repo unfortunately doesn't show any
consistency, more like heisenbuggish.

Andreas

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-06 12:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).