Skip to content
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

Extension won't detect gitflow files #60

Open
Aichan opened this issue Mar 7, 2017 · 2 comments
Open

Extension won't detect gitflow files #60

Aichan opened this issue Mar 7, 2017 · 2 comments

Comments

@Aichan
Copy link

Aichan commented Mar 7, 2017

Hello,

I've had the GitFlow extensions working for 3 months now but today I noticed it wasn't working anymore.

It couldn't detect my Git installation folder, (I added it to the path after reading about other issues) and then it was telling me GitFlow wasn't installed.

I tried running the "Install" button but no success.

I located the install1.psd file in "..AppData\Local\Microsoft\VisualStudio\14.0\Extensions\xek1uoah.vok\Dependencies"

And reading it, I tried to reproduce what it was supposed to do

  1. Copied the files in ".../Dependencies/binaries" into "C:\Program Files\Git\bin"
    There were 3 files : "getopt.exe", "libiconv2.dll", "libintl3.dll"

Then the PS script is supposed to run msysgit-install.cmd which is going to copy a total of 11 files located in "..\Dependencies\gitflow" which are all names "gitflow*" or "git-flow*" into "C:\Program Files\Git\bin"

It seems to have had issues with the UAC even though I run as admin so I did it manually.

I restarded Visual Studio but it still wouldn't locate GitFlow

Also, the part of install1.psd seems to search FOR "C:\Program Files\Git\git-flow" to make sure it was installed while the msysgit-install.cmd puts the files in bin

PS : Not that it should matter but my only changes since last time I saw it working was using a ssh agent for Git. There has been an update from Windows also

Is my understanding of those files wrong or is there an issue here?

@Aichan
Copy link
Author

Aichan commented Apr 6, 2017

I finally found a way to fix my issue :

I opened git bash ("Run as Administrator")

cd ~\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\2qvotjzl.gcp\Dependencies\gitflow\contrib
./gitflow-installer.sh install stable

Restart Visual Studio

It's now working.

I don't know how or why, but it seems that it previously used the "Windows" version, then MinGw picked over and thus it was considered a "Linux"

@jakobehn
Copy link
Owner

jakobehn commented Apr 6, 2017

Thanks for posting the solution, that's great to know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants