Precommit hook