diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-22 18:40:35 -0400 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-05-26 08:38:24 +0200 |
commit | 757dbb59c1f2cd88c84a6dc7dc038e4da750b035 (patch) | |
tree | b23b29e0cb81510b99e04b750ae88adb70a0a4e0 /contrib/gcc-changelog/git_commit.py | |
parent | b8e5f22671e900d9c7757f6289cc10d0c4fd0f03 (diff) | |
download | gcc-757dbb59c1f2cd88c84a6dc7dc038e4da750b035.zip gcc-757dbb59c1f2cd88c84a6dc7dc038e4da750b035.tar.gz gcc-757dbb59c1f2cd88c84a6dc7dc038e4da750b035.tar.bz2 |
gcc-git: Add prepare-commit-msg hook.
This patch introduces a prepare-commit-msg hook that appends a ChangeLog
skeleton to a commit message when the GCC_FORCE_MKLOG environment variable
is set, and a 'git commit-mklog' command set that variable while running
'git commit'.
contrib/ChangeLog:
* prepare-commit-msg: New file.
* gcc-git-customization.sh: Install it. Add commit-mklog alias.
* mklog.py: Add new option -c which appends
to a ChangeLog file.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions