From: Nicolas Pitre Date: Thu, 16 Oct 2008 20:20:32 GMT Subject: Re: Detached checkout will clobber branch head when using symlink HEAD Message-ID: In-Reply-To: <1224187863.2796.15.camel@localhost> On Thu, 16 Oct 2008, Matt Draisey wrote: > On Thu, 2008-10-16 at 15:17 -0400, Jeff King wrote: > > > Hmm. I don't think we have shipped with a symlink HEAD for quite a long > > time. Using one obviously doesn't work with detached HEAD, but also > > would fail with packed refs. I don't know if we ever deprecated it. > > I am using the following system defaults: > > core.prefersymlinkrefs=true > gc.packrefs=false > > 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. Nicolas