-
-
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
Library doesn't work on FreeBSD #47
Comments
@kbjr Could Git.php instead use We could then also remove the If you agree with this proposal I can submit a Pull Request. What do you think? |
I haven't worked on this project for a long time, I don't remember most of the details. That said, I do remember that there was a reason why I hard coded that path, I ran into some issue trying to use just |
My five cents guys, how about a file_exists check to see where git is on a On Fri, May 13, 2016 at 2:50 AM, James Brumond notifications@github.com
[image: --] Andre van Zuydam [image: http://www.daniweb.com/profiles/1108517/Andre-van-Zuydam] [image: https://www.openhub.net/accounts/75973?ref=Detailed] |
@andrevanzuydam This would require Git.php have all the possible/common paths hardcoded. Or the program calling Git.php could have this logic instead. I'd personally prefer just calling 'git' and relying on person deploying their app to have a proper PATH set. And an app could always call a different git path specifically with the set_bin() function. |
My proposal is here #48 |
Can we please get this merged? It's been a long standing issue (there are closed issues about this going back to 2012). Thanks. |
@kbjr if you'd rather not bother with fixes to this project, maybe there is a fork you could recommend? thanks |
This fork seems the most active: https://github.com/coyl/git |
yeah, looks like alot of recent commits there. feel free to duplicate this PR over there, or when I get a chance I can do so |
/usr/bin/git would not normally exist on FreeBSD as it install non-system applications to /usr/local/bin
I'm assuming there is a more portable way to find the git executable then hardcoding the location? I can try finding a solution to this at somepoint but don't have a ton of time to look into it at the moment.
Thanks
The text was updated successfully, but these errors were encountered: