gitchangelog
gitchangelog copied to clipboard
Using git notes
Git notes could be used to:
- allow afterthoughts re-wording of commits
- allow to effectively replace usage of commit message content (for those that would prefer this method)
- add more info / entries to a commit.
Support of using git note
could really be a good addition to gitchangelog
, at the condition we find a nice way to allow different usage scenarios.
Nice ressource about git notes and changelogs: https://harrow.io/blog/effortlessly-maintain-a-high-quality-change-log-with-little-known-git-tricks/
This is a wonderful idea. Any chance this is about to be happening?
PR are more than welcome :-)
@vaab it's been a while since this is open, so I'd like to check with you before starting. Do you still have interest in a PR for this?
We use gitchangelog internally for our projects and using git-notes has been in our own backlog for a while. I'd be happy to do it or get someone from my team to contribute this feature.
The way I'm thinking to implement it is:
- If a note exists for a certain commit and it matches one of the prefixes, then use it;
- otherwise blindly fall-back to git commit message (i.e. use existing behaviour).
Please let me know. Cheers.