php-git
php-git copied to clipboard
PHP bindings for libgit2
Hey I tried out the new diff feature on the jquery repo and it's erring out. PHP Test code is below gdb php output ``` #1 0x000000010190211b in zim_git2_repository_diff (ht=,...
Hello, Is there a method for diffing between commits or branches? - Steve
Hey, I'm getting a single fault now when I try to do the following, which used to work. ``` $repo = new Git2\Repository('/tmp/jquery.git'); $sha = \Git2\Reference::lookup($repo,"refs/heads/master"); $ref = $sha->resolve(); $commit...
I'm getting the following compile error on kubuntu 12.04 with php 5.4.0 . ``` /bin/bash /home/geo/Sources/php-git/libtool --mode=compile cc -I. -I/home/geo/Sources/php-git -DPHP_ATOM_INC -I/home/geo/Sources/php-git/include -I/home/geo/Sources/php-git/main -I/home/geo/Sources/php-git -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib...
Should $tree->path() be able to traverse a path such as "subdir1/README". ex. $tree->path('subdir1/README'); The example currently returns null yet the directory and file exists.
reported by @vissi. thanks! straight forward test code. ```
I get the libgit2 v0.10.0 and php-git v0.2.1 compile, then install, restart apache, get this error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/git.so' - /usr/lib64/php/modules/git.so: undefined symbol:...
PHP 8
? :-)