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

Re: [FEATURE] git-commit option to prepend filename to commit message

From
John J Foerch <jjfoerch@earthlink.net>
Date
Jul 15, 2017, 16:13 UTC
Message-ID
<1598254.3570.1500135197092@elwamui-karabash.atl.sa.earthlink.net>
Perfect, thank you Hannes!
-----Original Message-----
Show 14 quoted lines
>From: Johannes Sixt <j6t@kdbg.org>
>Sent: Jul 15, 2017 12:01 PM
>To: John J Foerch <jjfoerch@earthlink.net>
>Cc: git@vger.kernel.org
>Subject: Re: [FEATURE] git-commit option to prepend filename to commit message
>
>Am 15.07.2017 um 16:19 schrieb John J Foerch:
>> The feature would be a command line option for git commit that would
>> automatically prepend the "<filename>: " to the commit message.
>Write a prepare-commit-msg hook:
>
>https://www.kernel.org/pub/software/scm/git/docs/githooks.html#_prepare_commit_msg
>
>-- Hannes
Message 1 of 1 in “Re: [FEATURE] git-commit option to prepend filename to commit message”
  1. John J FoerchJul 15, 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.