[Github-comments] [geany/geany-plugins] [WIP] git-changebar: fix compatibility with libgit2 0.28 API (#821)

Colomban Wendling notifications at xxxxx
Tue Feb 12 13:11:10 UTC 2019


b4n 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);

typo reintroducing `git_buf_free()`

-- 
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#pullrequestreview-202656287
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190212/ab4e47ce/attachment.html>


More information about the Github-comments mailing list