Browse files

otp_build: Don't run hooks when updating the primary bootstrap

Since "otp_build update_primary" copies files that may contain
trailing spaces, the commit may fail if the repository has a
pre-commit hook that refuses to commit files with whitespace
problems. Avoid the problem by not running any hooks.
  • Loading branch information...
1 parent d041cab commit 2fc7c367942b893beae1d572c6bcda78fe28c378 @bjorng bjorng committed with Erlang/OTP Mar 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 otp_build
2 otp_build
@@ -915,7 +915,7 @@ do_primary_git ()
bootstrap/lib/compiler \
bootstrap/lib/orber/include \
- git commit -m 'Update primary bootstrap'
+ git commit --no-verify -m 'Update primary bootstrap'

0 comments on commit 2fc7c36

Please sign in to comment.