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

maxice8 notifications at xxxxx
Tue Feb 12 23:05:21 UTC 2019


maxice8 commented on this pull request.



> @@ -45,6 +45,10 @@
                     new_buffer, new_len, new_as_path, options, \
                     file_cb, hunk_cb, line_cb, payload)
 #endif
+#if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR < 28
+#define git_buf_dispose(x) git_buf_free(x)
+#define git_error_last() giterr_last()

Fixed, thanks for the review

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


More information about the Github-comments mailing list