From: Sebastian Schuberth Date: Fri, 01 Apr 2016 09:32:42 GMT Subject: Re: Trouble with cat-file on tags Message-ID: In-Reply-To: On 4/1/2016 11:26, Sebastian Schuberth wrote: > ---8<--- > $ git tag test-tag > > $ git tag -l > test-tag > v0.0.3 > v0.0.4 > v0.1.0 > v0.1.1 > v0.1.2 > > $ git cat-file tag refs/tags/test-tag > fatal: git cat-file refs/tags/test-tag: bad file > ---8<--- Alright, I just found out why that is: Lighweight tags are not stored as Git objects. As soon as I make it an annoted tag by specifying a message, "cat-file tag" do esnot display a fatal error anymore. However, I still get information about the commit oject iintsead of the tag object. Is this expected? Regards, Sebastian