On Fri, Sep 18, 2015 at 10:23 AM, Matthieu Moy
<[email protected]> wrote:
> Jacob Keller <[email protected]> writes:
>
>> On Fri, Sep 18, 2015 at 9:59 AM, Matthieu Moy
>> <[email protected]> wrote:
>>> I'm getting it even if there's a tag and/or a branch pointing to the
>>> same commit.
>>>
>>> Any idea what's going on?
>>
>> Any chance you accidentally made a branch or tag named HEAD?
>
> Nice try ;-), but no:

I was playing around with origin/master and origin/pu and
I cannot reproduce this bug.

However maybe Michael as the author of 4b063186
(2015-03-03 branch: name detached HEAD analogous to status)
can help here ?

>
> $ git status
> HEAD detached at HEAD
> nothing to commit, working directory clean
>
> $ git for-each-ref
> 16aa1796fb487fc7178ceef0525fed80284a4c52 commit refs/heads/master
> 16aa1796fb487fc7178ceef0525fed80284a4c52 commit refs/tags/foo
>
> $ git rev-parse HEAD
> 16aa1796fb487fc7178ceef0525fed80284a4c52
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to