Julian Prein f620e6d577 meta:hooks:commit-msg: Improve body recognition
Before, the commit-msg hook would not catch too long lines when
squashing commits, as the provided message starts immediately with a
commented line.

Instead of simply using all lines until the first comment, use all lines
until git's cut-line and remove all commented lines in between.

Do not hard-code git's commentary character but rather use
`core.commentChar`. `auto` is depending of the context interpreted as
'any character' or `#`.
2022-06-23 23:58:34 +02:00
2022-03-31 03:20:59 +02:00
2022-06-23 23:56:46 +02:00
2021-04-12 21:01:31 +02:00
2020-11-03 00:46:38 +01:00

My dotfiles

Installation

$ ./meta/install
Description
No description provided
Readme MIT 3 MiB
Languages
Shell 79.7%
Vim Script 18.7%
JavaScript 0.6%
CSS 0.6%
Python 0.3%