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

Re: Requesting suggestions for a good sample "prepare-commit-msg" hook

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 5, 2017, 17:00 UTC
Message-ID
<xmqqwp7miztv.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1499273152.16389.2.camel@gmail.com>
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> writes:
> So, we're searching for scripts that
> could both be  helpful to users and could serve as a good sample to
> prove what could be done using the hooks.

I am not so sure that we are searching for them, to be honest (who are we in this context anyway?)

This sounds like a solution looking for a problem to me. The simplest option may be to remove the sample hook---perhaps it outlived its usefulness.

Previous: Kaartic SivaraamNext: Kaartic Sivaraam
Message 2 of 6 in “Requesting suggestions for a good sample "prepare-commit-msg" hook”
  1. Kaartic SivaraamJul 5, 2017
  2. Junio C HamanoJul 5, 2017
  3. Kaartic SivaraamJul 5, 2017
  4. Kaartic SivaraamJul 5, 2017
  5. Junio C HamanoJul 5, 2017
  6. Kaartic SivaraamJul 6, 2017

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.