Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_helper: make test setup more hermetic
When running tests locally outside of a container (e.g. git clone git-secrets; make test), if a user is already using git-secrets by default in their system config and default gitdir template, tests which expect not to have git-secrets installed will fail. Instead, let's remove all hooks when we create a directory without the testbench's template and ignore the system config which may contain patterns that conflict with the testbench.
- Loading branch information