Subject: Re: bug#12804: 24.1; vc-git does not recognize file under version control

From: Dmitry Gutov <[email-masked]>
Date: Tue, 06 Nov 2012 22:01:00 +0400

Tom <[email-masked]> writes:

 > Tom <adatgyujto <at> gmail.com> writes:
 >
 >>
 >> Turns out the problem also occurs with files without space
 >> in the name, so it can also be some local problem.
 >>
 >> I'll keep investigating and post here if I have more info
 >> on this.
 >>
 >>
 >
 > Seems like space in the filename was the problem after all.
 > If Emacs calls git from the path then in my setup it
 > finds git.cmd which is a wrapper script and does not
 > handle these paths properly. It can be fixed by setting
 > vc-git-program to git.exe instead.
 >
 > So it's not an emacs bug, but a git problem, therefore
 > this bug report can be closed.

It seems the very latest Git for Windows (Git-1.8.0-preview20121022)
solved this problem, as well as the performance overhead from calling
git.cmd from vc-git:

C:\Users\gutov>which git
C:\Program Files (x86)\Git\cmd\git.EXE