Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/birkenfeld/gitchangelog
Git hook pre-filling the commit message with text added to the changelog file.
https://github.com/birkenfeld/gitchangelog
Last synced: 19 days ago
JSON representation
Git hook pre-filling the commit message with text added to the changelog file.
- Host: GitHub
- URL: https://github.com/birkenfeld/gitchangelog
- Owner: birkenfeld
- License: gpl-2.0
- Created: 2015-01-22T08:23:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T18:27:25.000Z (over 7 years ago)
- Last Synced: 2024-10-31T10:43:03.308Z (2 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Git changelog hook
==================This hook should be used as ``prepare-commit-msg``. It uses the staged
diff of a pre-determined "changelog" file to pre-fill the commit message.For example, if you add this in your changelog file prior to committing::
- Fix #1234: prevent crash when arguments missing
the hook will take this out of the diff to be committed and pre-fill the
commit message with ::Fix #1234: prevent crash when arguments missing
The file to check is determined by the ``hooks.changelogfile`` config setting,
and defaults to ``CHANGES``.This hook is copyright 2015 by Georg Brandl, and can be
distributed under the GNU GPL version 2 or later.