Re: Local clone checks out wrong branch based on remote HEAD
- From
Jeff King <peff@peff.net>
- Date
- Mar 19, 2009, 04:04 UTC
- Message-ID
- <20090319040402.GB32435@coredump.intra.peff.net>
- In-Reply-To
- <76718490903181411p743382f1qb053363f28a800b1@mail.gmail.com>
On Wed, Mar 18, 2009 at 05:11:25PM -0400, Jay Soffian wrote:
Show 5 quoted lines
> 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.
I think we should do (2) regardless. Even with an updated client, remote servers may have an older git which does not support (1) for some time.
So I guess it's time to refactor guess_remote_head _again_. :)
-Peff