-
-
Notifications
You must be signed in to change notification settings - Fork 851
Description
Magit uses magit-log-propertize-keywords to find parts of the commit message to highlight in log buffers and elsewhere. I find this very useful making it much easier to visually scan long logs to distinguish related commits and find what I'm looking for. Currently, magit-log-propertize-keywords only handles sqaush, fixup or "keywords" in brackets, [foo] .... So I ended up using the latter to make my logs more readable.
Worrying that I was abusing or misusing my commit messages to achieve this, I went looking for any documentation about how one is supposed to use [foo] in git commit messages in the wider VCS community and I was surprised I couldn't really find anything authoritative. So maybe magit should adopt some external, more rigorous convention about commit messages for it's highlighting? When I did a search, I found commitlint which seems to be a pretty good index for references about git commit message conventions that magit might adopt.