You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: