Attention GNU Emacs users on Windows:

As far as I know, the git mode in the style of PCL-CVS and psvn.el
called "git.el" that is part of the official git source distribution
does not work out of the box on Windows and msysgit. In order to solve
this problem, I have proposed an interim patch-up Emacs Lisp file
called "git-mswin.el" [1]. It solves two showstoppers I have
uncovered:

1. Emacs-lisp code that calls out to "git" on Windows fail on "git" if
the exec-path contains .../git/cmd.
2. Functions that call out to "env" do not work on Windows.

Installing git-mswin.el along side git.el allows Windows Emacs users
such as myself to run (M-x) git-status, git-log, git-commit,
git-resolve-file. Of course, YMMV.

As far as I know, this git-mswin.el works with the latest upstream
contrib/emacs/git.el [2] (2008-03-02), and GNU Emacs 22.2 and Meadow
3.00 beta. I forgot to mention that I have been able to use this with
Git-1.5.5-preview20080413.exe.

Please try it out and send feedback and/or fix it (or upstream) up
yourself. Thanks in advance.

Regarding the placement of this patch, I was unsure which git fork was
the appropriate place to post it, either git/mingw/4msysgit.git or
git/mingw.git. In the end I decided to post it on the one with the
accessible mob branch.

References:
[1] 
http://repo.or.cz/w/git/mingw/4msysgit.git?a=commit;h=3c30e5e87358eba7b6d7dcd6301ae8438f0c30ea
[2] 
http://repo.or.cz/w/git/mingw/4msysgit.git?a=commit;h=9225d7be0abab0c3b1325a733aea127b45a18625

Best regards,
Clifford Caoile

Reply via email to