From: Junio C Hamano Date: Mon, 02 Jul 2007 23:11:29 GMT Subject: Re: git-fetch will leave a ref pointing to a tag Message-ID: <7v4pkmwgda.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > Hi, > > On Mon, 2 Jul 2007, linux@horizon.com wrote: > >> $ git branch temp tags/v2.6.22-rc6 >> $ git fetch . tags/v2.6.22-rc7:temp > ... > No. It is perfectly sane to fetch a tag, and to store it. Yes, but not to a branch. Anything under refs/heads/ should point at a commit and if we allowed a tag to be pointed at, you probably can argue that is a bug.