Re: [PATCH] checkout: honor advice.detachedHead when reattaching to a branch
- From
Jeff King <peff@peff.net>
- Date
- May 6, 2011, 23:21 UTC
- Message-ID
- <20110506232118.GA24794@sigill.intra.peff.net>
- In-Reply-To
- <7vbozfxwon.fsf@alter.siamese.dyndns.org>
On Fri, May 06, 2011 at 03:59:20PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> > I tend to think (3) is now just useless. > > Quite the contrary. If you do not want to pay the price of (4) that is > useless most of the time, (3) is a cheap, space efficient and useful > information that is essential to allow you to get rid of (4) without > having to look at reflog.
Sorry, I should have been more clear. If you turn off orphan-checking, (3) is just as useful as it always was. But _if_ you have orphan-checking turned on, and it comes up negative, showing (3) is not particularly useful. You already know you are not losing commits.
-Peff