sample pre-commit hook: use --bool when retrieving config var