Re: Detached checkout will clobber branch head when using symlink HEAD
- From
- Matt Draisey <matt@draisey.ca>
- Date
- Oct 16, 2008, 20:11 UTC
- Message-ID
- <1224187863.2796.15.camel@localhost>
- In-Reply-To
- <20081016191751.GB14707@coredump.intra.peff.net>
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.