Re: [PATCH 3/3] Teach "git branch" about --new-workdir
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Jul 22, 2007, 19:16 UTC
- Message-ID
- <Pine.LNX.4.64.0707221511410.29679@iabervon.org>
- In-Reply-To
- <Pine.LNX.4.64.0707221956210.14781@racer.site>
On Sun, 22 Jul 2007, Johannes Schindelin wrote:
> A word of warning: switching to _same_ branch that is checked out in > the other repository is asking for trouble. You are really working not > only on the same object database, but also the same (i.e. not copied) > refs namespace.
It's probably time to revive Junio's patch for keeping the fully-dereferenced value of HEAD in the index, to make this safer.
-Daniel *This .sig left intentionally blank*