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

Re: Running interpret-trailers automatically on each commit?

From
JMJeremy Morton <admin@game-point.net>
Date
Aug 28, 2015, 17:07 UTC
Message-ID
<55E09540.60805@game-point.net>
In-Reply-To
<xmqqk2sf2vic.fsf@gitster.mtv.corp.google.com>

Yeah but it's kind of useless to me having it on each commit on a per-repo basis (and even then, only with hooks).

-- 
Best regards,
Jeremy Morton (Jez)

On 28/08/2015 18:06, Junio C Hamano wrote:
> Jeremy Morton<admin@game-point.net>  writes:
>
>> 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.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: Junio C HamanoNext: Matthieu Moy
Message 3 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.