Figured it out. Apparently my 'exec-path' doesn't include the path to Git,
even though my Windows %PATH% does. Maybe it's holding some very old copy
of %PATH%. In any case, I added
(setq exec-path (append exec-path '("C:/Program Files (x86)/Git/bin")))
to my .emacs and now it's finding it fine.
-Ken
On Monday, June 4, 2012 11:01:02 AM UTC-5, [email protected] wrote:
>
> Hi, I'm trying to use Magit with Vincent Goulet's nice distribution of
> Emacs ( http://vgoulet.act.ulaval.ca/en/emacs/windows/ ), and I'm getting
> tripped up on installation.
>
> The first trouble I had was that the "/share/emacs/site-lisp" and
> "/share/info" portions of the installation directories are hard-coded in
> the Makefile, so it's not possible to use the Makefile to install. No
> biggie, I just did 'make all' to byte-compile everything, then added the
> following to my .emacs:
>
> (setq load-path (cons "C:/Users/kwilliams/Downloads/magit-1.1.1"
> load-path))
> (require 'magit)
>
> But now when I attempt to run "magit-status" in a buffer under Git's
> control, I get the error "Searching for program: no such file or directory,
> git". The git executable should be found just fine, as it's in my $PATH,
> but it's called "git.exe", could that be tripping it up? You can *invoke*
> it as "git", without the .exe suffix, but you can't test for existence that
> way.
>