This is the mail archive of the
mailing list for the Cygwin project.
Re: Distributed Git not compiled under Cygwin?
- From: cxira <teh dot pigmonkey at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 Jan 2012 03:47:20 -0800 (PST)
- Subject: Re: Distributed Git not compiled under Cygwin?
- References: <email@example.com> <4EFB8FC1.firstname.lastname@example.org> <4EFB9714.email@example.com> <firstname.lastname@example.org> <4EFC834D.email@example.com> <firstname.lastname@example.org> <4EFCD4A5.email@example.com> <firstname.lastname@example.org> <4EFCE87E.email@example.com> <firstname.lastname@example.org> <4F050F9B.email@example.com>
Jeremy Bopp-3 wrote:
> That's not bad, but I don't think you should need "start" at all. Yes,
> it will run something in the background, but the chmod command should
> return almost instantly, and it would be good to know if it errors out
> for some reason. You would lose any way to detect that if you spin it
> off to the background.
> You should also use the cygpath program to convert your paths if
I tried it without start and I do see a command prompt. The other thing is,
it won't pause with an error regardless. You make a good point though, so I
tweaked the command. Additionally, I can't believe I didn't know about
cygpath. There are numerous times that would have been tremendously useful.
silent execute "!start C:\\cygwin\\bin\\run.exe /usr/bin/chmod 0644
\"`/usr/bin/cygpath '" . expand("<afile>") . "'`\" 2>> ~/.vim/error"
Since my .vim folder is under source control, I'll see if the error file
View this message in context: http://old.nabble.com/Distributed-Git-not-compiled-under-Cygwin--tp33047124p33084760.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple