-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Assume PHP can find git instead of hardcode path #48
base: master
Are you sure you want to change the base?
Conversation
1) Assume PHP can find git path instead of hardcoding /usr/bin/git * For PHP-FPM this is set in the config with a line similar to `env[PATH] = /usr/local/bin:/usr/bin:/bin` 2) Remove redundant `windows_mode()` which is now the default 3) Bump version
@andrevanzuydam what OS are you using Git.php on? Do you mind testing it this change works/breaks anything for you? |
I am using Ubuntu, Windows & MacOs, I will give you some feedback On Fri, May 13, 2016 at 8:40 PM, Joshua Ruehlig [email protected]
[image: --] Andre van Zuydam [image: http://www.daniweb.com/profiles/1108517/Andre-van-Zuydam] [image: https://www.openhub.net/accounts/75973?ref=Detailed] |
I'm running into an issue due to this now myself. I am running windows and receive
each time I am configuring my webapp. Anyone have a workaround for this? |
your app can enable windows mode, or change the path. but by default we shouldn't be hardcoding this path. |
how would I enable windows mode? |
I'm not sure, I haven't looked into this code for a while. but I do remember it is an option. |
I've seen the function within git.php, ok, I will figure it out, thanks |
Assume PHP can find git path instead of hardcoding /usr/bin/git
Remove redundant
windows_mode()
which is now the default behaviourBump version
Fixes #47