mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
scripts: Add env variable to disable pre-commit hook
We introduce TOR_EXTRA_PRE_COMMIT_CHECKS environment variable to run the pre-commit hook. The pre-push git hook will set it in order to run all pre-commit checks. Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -83,6 +83,7 @@ do
|
||||
src/tools/*.[ch] \
|
||||
)"
|
||||
|
||||
export TOR_EXTRA_PRE_COMMIT_CHECKS=1
|
||||
# We want word splitting here, because file names are space
|
||||
# separated
|
||||
# shellcheck disable=SC2086
|
||||
|
||||
Reference in New Issue
Block a user