Re: [PATCH 1/2] Fix git-verify-tag for local tags
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 9, 2005, 19:29 UTC
- Message-ID
- <7vk6gmebfc.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20051009181246.17885.81654.stgit@zion.home.lan>
Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> writes:
> From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> > > It currently exits printing "git-cat-file SHA1: bad file", while instead we must > just abort the verification for local tags (i.e. referring to commit objects).
Good spotting, but checking for type being not a tag (not limited to commit object) would be a better approach. I'll fix it up that way and apply (no need to resend). Thanks.