forked from dgrijalva/gitx
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
When committing from gitx, my pre-commit hook has
PATH=/usr/bin:/bin:/usr/sbin:/sbin
which does not include /opt/local/bin which contains the git I instructed gitx to use. When I work from Terminal.app, it is consistent because /opt/local/bin is in the PATH.
Thus, wouldn't it make more sense to tell gitx about the directory to prepend to the path to find the git we want, instead of specifying the git binary itself?
Metadata
Metadata
Assignees
Labels
No labels