[Github-comments] [geany/geany-plugins] [WIP] git-changebar: fix compatibility with libgit2 0.28 API (#821)
maxice8
notifications at xxxxx
Tue Feb 12 14:54:01 UTC 2019
maxice8 commented on this pull request.
> @@ -463,7 +471,11 @@ worker_thread (gpointer data)
if (relpath) {
if (! repo_get_file_blob_contents (repo, relpath, &job->buf, 0)) {
- git_buf_free (&job->buf);
+#if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28
+ git_buf_dispose (&job->buf);
+#else
+ git_buf_fre (&job->buf);
fixed
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/821#discussion_r255988798
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190212/0b2fad76/attachment.html>
More information about the Github-comments
mailing list