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
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
Jul 6, 2017, 03:28 UTC
Message-ID
<1499311692.1776.3.camel@gmail.com>
In-Reply-To
<xmqqzicihesv.fsf@gitster.mtv.corp.google.com>
On Wed, 2017-07-05 at 12:19 -0700, Junio C Hamano wrote:
Show 12 quoted lines
> I honestly do not see your point.  Yes, I said that the change
> indicates that there is no useful example found (so far).  That does
> not necessarily mean that we must find a useful example so that we
> can keep this sample script, which now became useless, alive.  
> 
> I am questioning the assumption that it helps users to have a sample
> for prepare-commit-msg shipped with our source, and I suspect that
> it may no longer be true.  If the sole purpose of finding a useful
> example is to keep the sample script alive, when the sample script
> is no longer a useful thing to ship, then it does sound like "a
> solution looking for a problem", no?
> 

Ah, now I see your point. When you said "it's no longer useful", I thought you were mentioning only the part of the script that commented the sign-off. Now I get that your point of not shipping the sample script itself. Now that clears the confusion and sorry for the confusion I may have caused.

-- 
Kaartic
Previous: Junio C Hamano
Message 6 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.