From: Dmitry Gutov <dgutov@yandex.ru>
To: adatgyujto@gmail.com
Cc: 12804@debbugs.gnu.org
Subject: bug#12804: 24.1; vc-git does not recognize file under version control
Date: Tue, 06 Nov 2012 22:01:00 +0400 [thread overview]
Message-ID: <5099505C.3010008@yandex.ru> (raw)
In-Reply-To: <loom.20121104T202622-238@post.gmane.org>
Tom <adatgyujto@gmail.com> 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
prev parent reply other threads:[~2012-11-06 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-04 19:44 bug#12804: 24.1; vc-git does not recognize file under version control Tom
2012-11-05 8:08 ` Tom
2012-11-06 17:53 ` Tom
2012-11-06 18:01 ` Dmitry Gutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5099505C.3010008@yandex.ru \
--to=dgutov@yandex.ru \
--cc=12804@debbugs.gnu.org \
--cc=adatgyujto@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).