diff options
| author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2020-02-01 10:05:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-01 10:05:42 -0800 |
| commit | 1882d20155ba10982e76856c0433de7690a574b4 (patch) | |
| tree | b540ee2b4d02dffaa762b86b3f7bbd8fa6603be1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 65e6812dc86d07c4325d2fcb1174a8b50cfd7e58 (diff) | |
pre-commit: installed git hook should have full path to binary (#77638)
pre-commit currently install impure Git hooks that look for the
`pre-commit` binary in PATH. If the user has `pre-commit` loaded via a
nix-shell instead of having it installed then GUI editors, such as
Intellij, won't be able to use Git commit because the hook fails trying
to look for the `pre-commit` binary in PATH.
This patch updates the hook template to use the hardcoded path to the
`pre-commit` binary if it was found, fallback to using the one from
PATH.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
