Re: Detached checkout will clobber branch head when using symlink HEAD
- From
Jeff King <peff@peff.net>
- Date
- Oct 16, 2008, 20:22 UTC
- Message-ID
- <20081016202202.GA9487@coredump.intra.peff.net>
- In-Reply-To
- <alpine.LFD.2.00.0810161619330.26244@xanadu.home>
On Thu, Oct 16, 2008 at 04:20:32PM -0400, Nicolas Pitre wrote:
Show 5 quoted lines
> > so almost all my git repositories are still using a symlink HEAD. > > I have some old scripts That I use occasionally and still depend on it. > > Using detached checkout is the only problem I've had. > > A symlink HEAD and detached checkouts are simply incompatible.
Agreed, but I think the complaint is not that it doesn't work, but that it silently clobbers the current branch when you try it.
-Peff