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

Re: Running interpret-trailers automatically on each commit?

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 28, 2015, 17:06 UTC
Message-ID
<xmqqk2sf2vic.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<55E07CB1.0@game-point.net>
Jeremy Morton <admin@game-point.net> writes:
Show 5 quoted lines
> I see that interpret-trailers has been added by default in git
> 2.5.0. However the documentation isn't that great and I can't tell
> whether it gets run automatically when I do a "git commit".  My guess
> is that it doesn't - that you have to set up a hook to get it to run
> each commit.
All correct, except that it happend in 2.2 timeframe.

A new experimental feature is shipped, so that people can gain experience with it and come up with the best practice in their hooks, and then laster we may fold the best practice into somewhere deeper in the system.

We are still in the early "ship an experimental feature to let people play with it" stage.

Thanks.
Previous: Jeremy MortonNext: Jeremy Morton
Message 2 of 6 in “Running interpret-trailers automatically on each commit?”
  1. Jeremy MortonAug 28, 2015
  2. Junio C HamanoAug 28, 2015
  3. Jeremy MortonAug 28, 2015
  4. Matthieu MoyAug 31, 2015
  5. Junio C HamanoAug 31, 2015
  6. Junio C HamanoAug 31, 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.