From: Junio C Hamano Date: Thu, 04 Apr 2019 21:54:06 GMT Subject: Re: [PATCH v2.5 2/2] tag: prevent nested tags Message-ID: In-Reply-To: <20190404122722.GA23024@sigill.intra.peff.net> Jeff King writes: > but you have to take pretty specific steps to get a tag of a blob or > tree, like: > > git tag mytag HEAD:path > > or > > git tag mytag HEAD^{tree} And the way to ask for commit and tag are git tag mytag master git tag mytag v1.0.0 I do not see why only the last one should either be forbidden or automaticallly peel. Each of these four names an object of a specific type, and singling out a tag as "curious" makes the interface uneven.