All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: Renaming a branch checked out in a different work tree
@ 2017-03-29 18:02 Eyal Lotem
  2017-03-29 18:40 ` Jonathan Nieder
  2017-03-29 18:43 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Eyal Lotem @ 2017-03-29 18:02 UTC (permalink / raw)
  To: git

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

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

* Re: BUG: Renaming a branch checked out in a different work tree
  2017-03-29 18:02 BUG: Renaming a branch checked out in a different work tree Eyal Lotem
@ 2017-03-29 18:40 ` Jonathan Nieder
  2017-03-29 18:43 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Nieder @ 2017-03-29 18:40 UTC (permalink / raw)
  To: Eyal Lotem; +Cc: git, Kazuki Yamaguchi

(+cc: Kazuki Yamaguchi --- thanks for writing the fix!)
Hi Eyal,

Eyal Lotem wrote:

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

I believe this is fixed by v2.8.3~42^2~1 (branch -m: update all
per-worktree HEADs, 2016-03-27).

Thanks and hope that helps,
Jonathan

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

* Re: BUG: Renaming a branch checked out in a different work tree
  2017-03-29 18:02 BUG: Renaming a branch checked out in a different work tree Eyal Lotem
  2017-03-29 18:40 ` Jonathan Nieder
@ 2017-03-29 18:43 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2017-03-29 18:43 UTC (permalink / raw)
  To: Eyal Lotem; +Cc: git

On Mär 29 2017, Eyal Lotem <eyal.lotem@gmail.com> wrote:

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

Fixed since 2.8.3.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2017-03-29 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 18:02 BUG: Renaming a branch checked out in a different work tree Eyal Lotem
2017-03-29 18:40 ` Jonathan Nieder
2017-03-29 18:43 ` Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.