mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Generate the ChangeLog from commit logs.
* scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * scripts/git-hooks/commit-msg: New script. * autogen.sh: Install commit-msg hook for git. * doc/HACKING: Describe the ChangeLog policy. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog.
This commit is contained in:
parent
76b73caf91
commit
120b0ce136
10 changed files with 565 additions and 45 deletions
|
@ -275,6 +275,13 @@ EOF
|
|||
cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit
|
||||
chmod -c +x .git/hooks/pre-commit
|
||||
fi
|
||||
if [ -f scripts/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
|
||||
cat <<EOF >&2
|
||||
*** Activating commit log message check hook. ***
|
||||
EOF
|
||||
cp -av scripts/git-hooks/commit-msg .git/hooks/commit-msg
|
||||
chmod -c +x .git/hooks/commit-msg
|
||||
fi
|
||||
tmp=$(git config --get filter.cleanpo.clean)
|
||||
if [ "$tmp" != "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue