libgit2 / php-git

PHP bindings for libgit2
http://libgit2.github.com
MIT License
563 stars 118 forks source link

Undefined function git_branch_name() #79

Open sphuber opened 9 years ago

sphuber commented 9 years ago

When I use git_branch_name() I get Call to undefined function git_branch_name() however looking at the code it does seem to be implemented. Am I missing something?

sphuber commented 9 years ago

Found the source of the issue none of the zend_entry_function stubs were defined in php_git2.c. Also the implementation of git_branch_upstream was missing from branch.c