writing tests for custom core hooksPaths

This commit is contained in:
uri 2021-08-28 02:18:51 +03:00
parent 1c8fe57b66
commit 026e10bcc1
3 changed files with 40 additions and 2 deletions

View file

@ -146,7 +146,8 @@ def install(
if not follow_hooks_path:
logger.error(
'Cowardly refusing to install hooks with `core.hooksPath` set.'
'\nhint: `git config --unset-all core.hooksPath`',
'\nhint: `git config --unset-all core.hooksPath`, '
'or use the `--follow-custom-hooks-path` flag',
)
return 1