-
Notifications
You must be signed in to change notification settings - Fork 528
Git for Windows paths are different in 2.x releases #210
Comments
This seems a little more complex than that. However, this is what happened when I tried to run git-flow
This seems to happen for every command that tries to read the values from the git config (that's where I assume it stored my branches naming configuration). Though I'm not an expert, I think I could fix the |
As a workaround, if you install the 32 bit version of git 2.5 instead of the 64 bit. And then run: |
I'll see what I can do. Git for Windows moved to msys2, I need to install the portable version to see what I can do to fix this. |
I am using git on version 1.9.5. Any news? |
I guess everyone forgot about this issue. I got it working for a while now. I'm using git version All I did was get the latest commits of this repository, navigated to the .\msysgit-install.cmd "C:\Program Files\Git\usr" The only difference in the command I ran and the command And the getopt.exe file must be in the folder |
@viniciusmelquiades but the error is still there...
|
after delete the gitflow things under
|
what's your git installation path, git version, and command you're running? |
installed at |
know you got me. If I did something else for mine to work, I don't remember. What version of gitflow are you using? I did a git pull on this repository today just to test this. I'm using the |
I'm using the newest |
@HaveF that's right. they just work. Thinking about it, it could be the getopt.exe I'm using. It's just a guess, but it is mentioned in your error message. I don't remember if I used the one provided on git-flow's wiki or if I downloaded some other version. I can send you the one I'm using if you want to try it out. |
@viniciusmelquiades thanks! depends on your comments, I tried getopt.exe (the version list in https://github.com/nvie/gitflow/wiki/Windows ), it works now. thanks again! |
@HaveF I'm glad it worked. @petervanderdoes Perhaps you can find someone with git for Windows 32 bits and if they're not having trouble I think you can close the issue. |
You need to support 3 types of path: git 1.9.5, git 2.x 32-bit, git 2.x 64-bit |
The msysgit-install.cmd doesn't copy files to the correct location when git for windows 2.x is installed because the .../bin/ directory is not on the path. The files need to be moved to .../usr/bin/ after installation. Perhaps the script could check for the presence of /usr/bin and install there. Happy to submit a patch if you want but I'm not exactly a skilled windows user.
The text was updated successfully, but these errors were encountered: