Would it be possible for install to use full path to git-secrets?
- Dominant language
- Shell
- Stars
- 13.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/awslabs/git-secrets/blob/master/git-secrets#L206
There at least a few IDEs/editors (JetBrains RubyMine, VS Code) that choke on the git hooks that get installed. If you try to commit from within the IDE's git interface, it blows up and says:

This is because the IDE runs `git` with some sort of weird setting for `$PATH`. For example, RubyMine seems to run it's git executable with the following `$PATH`: `/usr/local/Cellar/git/2.28.0/libexec/git-core:/usr/bin:/bin:/usr/sbin:/sbin` while `git-secrets` is at `/usr/local/bin/git-secrets` (`brew install git-secrets`)...
Would it be possible or make sense for the install script to use the absolute path itself?
Contributor guide
Assessment
This issue has not been assessed yet.