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

$tree->path() does not travese

Open msierks opened this issue 14 years ago • 1 comments

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.

msierks avatar Oct 17 '11 19:10 msierks

yap, some php-git API should be more easily to use. but libgit2 does not support convenience features and php-git become large extension. i want to fix these issues near the future.

please obtain each tree object resolve path at this moment.

chobie avatar Oct 18 '11 00:10 chobie