diff options
| author | Magnar Sveen <magnars@gmail.com> | 2023-10-11 15:51:54 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-10-15 22:08:16 +0200 |
| commit | dd14e0c3c6604f97a447967f0c1ace9947a09e66 (patch) | |
| tree | 7f9185783768e710b426290b9a7f55d01fde2c53 /docs/RelNotes | |
| parent | 703410039cf28e6bba4949853d010e897d972356 (diff) | |
git-commit: Ignore leading comment when inserting headers
It is suggested in several places on the internet to use a git
commit template, for instance here [1]. These often include a
header comment:
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
[1]: https://gist.github.com/lisawolderiksen/a7b99d94c92c6671181611be1641c733
This change ensures that headers are inserted after this leading
comment (meaning there are no empty lines before it), instead of
above it. Headers are still inserted before the comments added
by Git itself.
Diffstat (limited to 'docs/RelNotes')
0 files changed, 0 insertions, 0 deletions
