Subject: Re: Git tag: pre-receive hook issue

From: Jakub Narębski <[email-masked]>
Date: Wed, 22 Jul 2015 21:46:44 +0200

On 2015-07-19, Jacob Keller wrote:

> git describe will tell you if the commit you're passing it is
> associated with an annotated tag. I do not understand who this
> information can help you implement any policy, so understanding what
> the policy you want is would be the most helpful.

One policy I can think of that may have use of checking if commit
is tagged is requiring some extra restrictions on the commit that
is being tagged, for example that the only file that it can touch
is version.h / VERSION-FILE, and no code changes at all.

-- 
Jakub Narębski