Skip to content

Conversation

@ielcoro
Copy link

@ielcoro ielcoro commented Aug 6, 2015

As talked in #8 it has been difficult to make posh-gitflow work without GitHub desktop installed.
This pull request adds support for installing without GitHub desktop, allowing to be use with official installations of git for windows.

The flow first searches for known git environment variables, if not found tries to look for a Github desktop installation as before. It allows the user to override the search logic, by passing the git installation path as paremeter.

@JacobIU
Copy link
Contributor

JacobIU commented Aug 7, 2015

A quick question about the logic flow here -- it looks like this installs into either the global git install or all of the versions of portable git (however many there are). Should it installs into global git + portable git if both exist?

@ielcoro
Copy link
Author

ielcoro commented Aug 7, 2015

You are right, it installs either into the global got installation or the github installation. As posh-got flow is a command line utility I thinked that inside the command line, global got would take preference, as it's exposed through environment variables.

However, if it's is possible to launch a shell from github desktop that ignores the global git installation, modifying the logic flow to install in both locations if they are found, could make sense. It's being a while since I used github desktop though...

Anyway searching for both locations looks like an easy change.

@ielcoro
Copy link
Author

ielcoro commented Aug 11, 2015

Any thoughts?

Should I change the logic?

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

Successfully merging this pull request may close these issues.

2 participants