Re: Local clone checks out wrong branch based on remote HEAD
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Mar 18, 2009, 21:11 UTC
- Message-ID
- <76718490903181411p743382f1qb053363f28a800b1@mail.gmail.com>
- In-Reply-To
- <49C0C769.8020401@drmicha.warpmail.net>
On Wed, Mar 18, 2009 at 6:05 AM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 5 quoted lines
> One might even argue that in case of ambiguities, checking out a > detached head would be most appropriate. Really, why impose creation of > certain local branches on a user at all, unless asked for? Detached > heads are natural in git! But I don't really expect positive consensus > on that one...
Shirley, you must be joking. :-)
I think there are two reasonable paths forward:
1) Address Jeff's concerns above so that the symref can be sent. 2) In lieu of (1), have clone at least warn that multiple branches match and that it just picked one.
j.