I’m using Emacs 24 on OS X 10.6.8. Doing magit-status says
Searching for program: no such file or directory, git
However, the Emacs shell is able to find git, so this does not seem to be a $PATH issue. What else could it be?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try checking the value of
exec-pathvariable. This controls the directories which are looked by Emacs for external executables (including git).This is a customizable variable, and you can add the path to
gitto the list of existing directories.I have the elisp snippet in my
.emacs.d/init.elfile for my Emacs install under OSX, which sets both thePATHandexec-pathcorrectly.