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

1 messages from 2017-07-15 to 2017-07-15. Participants: John J Foerch.
Thread: https://gitlist.dev/t/46391

## John J Foerch, 2017-07-15 16:13

Subject: Re: [FEATURE] git-commit option to prepend filename to commit message
Message-ID: <1598254.3570.1500135197092@elwamui-karabash.atl.sa.earthlink.net>
URL: https://gitlist.dev/e/1598254.3570.1500135197092%40elwamui-karabash.atl.sa.earthlink.net

```


Perfect, thank you Hannes!

-----Original Message-----
>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

```
