Do NOT deploy `perpare-commit-msg`.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-10 16:04:14 +09:00
parent 4b911ce98a
commit 12aabfb6c0
2 changed files with 0 additions and 19 deletions

View File

@ -1,18 +0,0 @@
#!/bin/sh
if [ "$2" = "" ]; then
mv $1 $1.tmp
ID=`git branch | grep ^\* | awk '{print $2}' | cut -f 2 -d "/"`
cat <<EOF > $1
This commit refs/fixes #${ID}.
# ^^^^^^^^^^
EOF
cat $1.tmp >> $1
fi
exit 0

View File

@ -53,7 +53,6 @@ end
[
'/usr/share/git-core/templates/hooks/pre-commit',
'/usr/share/git-core/templates/hooks/prepare-commit-msg',
].each do |conf|
remote_file conf do
user 'root'