-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use it on Windows 10 #39
Comments
Hi kdurant, I don't have any easy access to a windows machine. Maybe you are the first windows user, I can't tell :) I did a blind shot with 1067130 . Test branch next and tell me if it fixes anything for you. Anyway, I can't say that vimagit is supported on windows. Travis doesn't offer Windows machine for regression test. If I break something, I won't know until someone opens an issue. I hope it'll fix magit on windows. Thanks |
As same as the last |
Is it the exact same error message? |
Hi there, I will need more feedback to try to fix vimagit for windows 10. Could you please try the next branch, and give the exact error message please? |
When I try this on Windows 8.1, using Vim 7.4.1-930.
Using the VimScript debugger (:h breakadd), I was able to see the following:
Just looking at the command line executed: No way that will work on Windows. The command must be an executable. Based on what I am seeing, you are trying to find the top_dir using: This works just fine, with a normal git command, for example: So I have added this to my vimrc, which allows me to specify a full path including double quotes just in case there are spaces in my path. Then modified this file, right at the top: Changed to this:
Things appear to be working for me now. |
Thanks a lot @dfishburn ! I must take the time to install a windows virtual machine to perform tests. I hope I will include windows support in next release, but it should be fixed in next branch soon. Anyway, I won't officially support windows before I setup a continuous inegration for windows, and I fear it will take a lot of time (mush more than fix the potential bugs :/ ). I will test www.appveyor.com as soon as I found some time. |
I understand, about not officially supporting windows until you have a valid environment to test on. If you do make some of the changes I have outlined, I am happy to test them. So far with the changes I outlined above, your plugin has allowed me to perform my first ever git commits. So thank you very much. I tried Vim's fugitive plugin but I found Vimagit much more easy to use and understand. Thank you for your hard work. |
Hi, I'm reproducing this in linux/osx using the FISH shell. I believe the problem is the same, FISH doesn't accept env vars being set that way before invoking a binary file. Can I provide any additional info to help debug it? Fish will definitely be an easier way to replicate this. Let me know if I should fork this into a new issue. |
There's definitly a problem around environment variables. I'll craft a patch soon around that, but I think it won't fix all on windows. |
Just to be clear. Any new release (like the 1.5.2) and anything you ask me to test, I can't since you haven't made this simple and totally backwards compatible fix (which I outlined above): So I have added this to my vimrc, which allows me to specify a full path including double quotes just in case there are spaces in my path.
Then modified this file, right at the top: Changed to this:
If you make that simple change, it will NOT affect any other users unless they define a g:magit_git_cmd. If will allow all Windows users to use the plugin (as I have been for 2 months). It will allow all FISH users to be able to override this environment variable problem (listed above). Make the simple change and you will allow us to continue to work with you and test additional features. If you also put it in "master" I can test that branch too. David |
@dfishburn , add a global magit_git_cmd variable was what I meant in my previous comment. For such simple changes, a pull request very is welcome! If so, the best way is to add this Cheers |
I haven't done stuff with Github, so don't really know how to send you a pull request. This change is incredibly simple. |
That's why I encourage you to make a pull request. Anyway, I'll do it. |
Hi everyone, could you post your environment (OS, shell name and version) to #75 I'll try to propose a default git command for each comment environment. |
please check branch next, and comment on #74 Thanks |
And to everyone, could you please please update this ticket if banch next is OK on windows? |
As no one seems to complain, I close this ticket. If someone still has an issue with Windows 10, feel free to reopen the ticket. |
Default config for vimagit and use
Magit
commandThe text was updated successfully, but these errors were encountered: