Re: [PATCH] checkout: honor advice.detachedHead when reattaching to a branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 06, 2011 at 03:59:20PM -0700, Junio C Hamano wrote:

> > 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]