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. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011.
This commit is contained in:
parent
0137097fbb
commit
28c6cef128
41 changed files with 2014 additions and 1334 deletions
|
@ -199,7 +199,7 @@ EOF
|
|||
fi
|
||||
|
||||
|
||||
# Check the git setup.
|
||||
# Update the git setup.
|
||||
if [ -d .git ]; then
|
||||
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
|
||||
cat <<EOF >&2
|
||||
|
@ -219,6 +219,13 @@ EOF
|
|||
git config --add filter.cleanpo.clean \
|
||||
"awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'"
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue