Basic pre-commit hook