git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Change in "git checkout" behaviour between 1.6.0.2 and 1.6.0.3

From
BSBruce Stephens <bruce.stephens@isode.com>
Date
Nov 12, 2008, 19:44 UTC
Message-ID
<80od0ksp8w.fsf@tiny.isode.net>
In-Reply-To
<7vprl0oiw6.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
[...]
Show 8 quoted lines
> Yeah, it was meant to allow:
>
> 	git clone -n $there $here
>         cd $here
>         git checkout
>
> and was not taking care of the case to switch branches when the initial
> checkout is made.

That specific sequence does work. I guess that's why I hadn't noticed the issue for so long (I guess git's test suite has some tests using "clone -n", and perhaps they're of that form).

> Perhaps this would help.
Works for me.
[...]
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Change in "git checkout" behaviour between 1.6.0.2 and 1.6.0.3”
  1. Bruce StephensNov 12, 2008
  2. Michael J GruberNov 12, 2008
  3. Bruce StephensNov 12, 2008
  4. Junio C HamanoNov 12, 2008
  5. Bruce StephensNov 12, 2008
  6. Re* Change in "git checkout" behaviour between 1.6.0.2 and 1.6.0.3Junio C Hamano, Nov 12, 2008
  7. Bruce StephensNov 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.