Subject: Re: [PATCH] HEAD, ORIG_HEAD and FETCH_HEAD are really special.

From: Johannes Sixt <[email-masked]>
Date: Fri, 07 Sep 2007 14:36:15 +0200

Junio C Hamano schrieb:
> But he has a stray .git/master file,
> perhaps created by hand by mistake (it would be very interesting
> to find how that file got there in the first place),

It is easy to get one there if, in a brave moment, you try

    git update-ref master $some_other_ref

instead of the correct

    git update-ref refs/heads/master $some_other_ref

-- Hannes