cshekharsharma / git-changelog

A simple PHP library for generating changelog file from git log history
MIT License
6 stars 2 forks source link

OSX Support #2

Open fridzema opened 6 years ago

fridzema commented 6 years ago

Really like this package, exactly what i need!

My only problem is that it is not working on osx, i get the following error: Git binary does not exist.

I tried to fix it myself in the code but can't get it to work. On linux it is working great tough.

cshekharsharma commented 6 years ago

Hi @fridzema, In the latest commit I have tried to handle that. Please confirm if this works for you now. Unfortunately, I do not have MacOS right now to test that.

fridzema commented 6 years ago

@cshekharsharma nope doesn't work. next week or so i can give it another try to find the fix myself.

fridzema commented 6 years ago

@cshekharsharma Strange problem... in the command line which git returns /usr/local/bin/git but if do it manually with the shell_exec it returns null.