diff --git a/precommit-hook.sh b/precommit-hook.sh index fc418ebc..71d7fea7 100755 --- a/precommit-hook.sh +++ b/precommit-hook.sh @@ -2,7 +2,7 @@ # Installation: ln -s ../../precommit-hook.sh .git/hooks/pre-commit git diff --cached --name-status | while read status file; do - if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^debian/tools/ ]]; then + if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^debian/tools/ ]] || [[ "$file" =~ ^debian/changelog ]]; then echo "" echo "*** UPDATING AUTOGENERATED FILES ***" echo ""