php-git icon indicating copy to clipboard operation
php-git copied to clipboard

Undefined function git_branch_name()

Open sphuber opened this issue 9 years ago • 1 comments

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 avatar Apr 29 '15 06:04 sphuber

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

sphuber avatar May 03 '15 03:05 sphuber