git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git tag: pre-receive hook issue

From
Jakub Narębski <jnareb@gmail.com>
Date
Jul 22, 2015, 19:46 UTC
Message-ID
<55AFF324.2000609@gmail.com>
In-Reply-To
<CA+P7+xpevvV=5QdfBdzcD=8=2ff+m-kzxX-w1wLME8oRyn8QBA@mail.gmail.com>
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
Previous: Keller, Jacob E
Message 13 of 13 in “Git tag: pre-receive hook issue”
  1. GarbageyardJul 17, 2015
  2. Junio C HamanoJul 17, 2015
  3. Jacob KellerJul 18, 2015
  4. Gaurav ChhabraJul 18, 2015
  5. Junio C HamanoJul 18, 2015
  6. Jacob KellerJul 18, 2015
  7. Gaurav ChhabraJul 19, 2015
  8. Jacob KellerJul 19, 2015
  9. Gaurav ChhabraJul 19, 2015
  10. Jacob KellerJul 19, 2015
  11. Gaurav ChhabraJul 20, 2015
  12. Keller, Jacob EJul 20, 2015
  13. Jakub NarębskiJul 22, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.