| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Commit has functions that requires a reference to a repository to run. Because parent(*) was simply calling out to libgit2's git_commit_parent directly, its repo field was not being set. Creating a wrapper in the Commit class and assigning a repository to the object before returning it will fix this problem. Signed-off-by: Remy Suen <remy.suen@gmail.com>
|
Thanks for reviewing this, @implausible. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Commit has functions that requires a reference to a repository to run. Because parent(*) was simply calling out to libgit2's git_commit_parent directly, its repo field was not being set.
Creating a wrapper in the Commit class and assigning a repository to the object before returning it will fix this problem.
Fixes #1653.