Re: [BUG?] Detaching head at checked out point does not work.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 12, 2007, 19:35 UTC
- Message-ID
- <7vd515ygw5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070512191833.GA8983@efreet.light.src>
Jan Hudec <bulb@ucw.cz> writes:
Show 16 quoted lines
> On Sat, May 12, 2007 at 11:26:53 -0700, Junio C Hamano wrote:
>> Jan Hudec <bulb@ucw.cz> writes:
>>
>> > I can correctly detach head by saying:
>> >
>> > git checkout master^0
>> >
>> > (or git checkout master^{} or git checkout refs/heads/master), but NONE of
>> > these work, if I currently have master checked out. Shouldn't it detach
>> > anyway?
>>
>> Yes, and it does as far as I know.
>>
>> Do you have 3e0318a3?
>
> It does not seem to be in 1.5.1.4, so no, I don't.As that commit is directly on top of v1.5.1, I think it may not hurt to cherry-pick that single commit to 'maint' for 1.5.1.5, although some may argue that it is not strictly a bugfix but a new feature.