From: Junio C Hamano Date: Wed, 03 Jan 2007 02:45:51 GMT Subject: Re: [PATCH] Detached HEAD (experimental) Message-ID: <7vd55wsu8w.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <87odphgfzz.wl%cworth@cworth.org> Carl Worth writes: > I don't actually prefer "no commit allowed". I just didn't want the > user to have to explicitly disable the safety before being able to > perform a checkout based on a tag. Ok, then I think we are in agreement that the safety should be at the point where the user might leave the detached state. > I am still interested in this feature, so I will try to find time to > come back with a revised version of your patch with the missing safety > check (and without requiring -d on checkout). Thanks again for this > initial take on the problem. (Though if anyone else beats me to it, I > certainly will not be offended.) Sounds good. I do not mind losing -d, but I would suggest that there should be a message that says "you are no longer on any branch" after a checkout that makes the head detached. The user should be warned about such an unusal situation.