awslabs / git-secrets

Prevents you from committing secrets and credentials into git repositories
Apache License 2.0
12.36k stars 1.17k forks source link

Fix for pre-commit hook failure on bash 4 #54

Closed ssteo closed 6 years ago

ssteo commented 7 years ago

This PR fixes the issue described here. https://github.com/awslabs/git-secrets/issues/45#fork-destination-box

mtdowling commented 6 years ago

I think there's more work that should be done (like reusing the git_grep function or removing it), but I'll go ahead and merge this until we have a more automated way to test bash 4.

bbarker commented 6 years ago

Is there any possibility of adding a new release to incorporate this (and presumably other) features? I just added the latest release to nixpkgs, but hadn't noticed it was nearly 2 years old.