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

BUG: Renaming a branch checked out in a different work tree

From
ELEyal Lotem <eyal.lotem@gmail.com>
Date
Mar 29, 2017, 18:02 UTC
Message-ID
<CALA94fPqm5UnYBwqZ5fDJ=DL_9EaZeRfqHB5ZzUQt11FSz4ZMA@mail.gmail.com>

git version: 2.7.4 installed from Ubuntu repos: Ubuntu Version: 1:2.7.4-0ubuntu1

When renaming a branch checked out in a different work tree, that work tree's state is corrupted. Git status in that work tree then reports itself being on the "initial commit" with all files being in the staging area.

-- Eyal

Next: Jonathan Nieder
Message 1 of 3 in “BUG: Renaming a branch checked out in a different work tree”
  1. Eyal LotemMar 29, 2017
  2. Jonathan NiederMar 29, 2017
  3. Andreas SchwabMar 29, 2017

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.