rycus86 / githooks

Githooks: per-repo and global Git hooks with version control
MIT License
381 stars 20 forks source link

Bugfix: env -i is to restrictive #62

Closed gabyx closed 4 years ago

gabyx commented 4 years ago

Can we revert this. I hope this fix instead of env -i also passes all tests.

Also we forgot to put -c core.hooksPath=/dev/null as you mentioned. Which is necessary.

Why this revert: env -i kills everything including credentials somehow, so you need to enter passwords again etc....

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 461


Changes Missing Coverage Covered Lines Changed/Added Lines %
base-template.sh 1 2 50.0%
<!-- Total: 1 2 50.0% -->
Totals Coverage Status
Change from base Build 458: 0.0%
Covered Lines: 1736
Relevant Lines: 1994

💛 - Coveralls