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

Re: pre-commit hook question

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 16, 2014, 18:23 UTC
Message-ID
<xmqqppi8r9x4.fsf@gitster.dls.corp.google.com>
In-Reply-To
<539C8796.3070709@gmail.com>
Nick Dimov <dimovnike@gmail.com> writes:
> Im struggling for a couple of hours to make git store metadata of the
> files using metastore and I use hooks/pre-commit for this.

The pre-commit hook is about checking if the commits being created is sensible and rejecting otherwise, and it is not designed to allow futzing what is recorded behind the user's back.

Previous: Nick Dimov
Message 2 of 2 in “pre-commit hook question”
  1. Nick DimovJun 14, 2014
  2. Junio C HamanoJun 16, 2014

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.