[Github-comments] [geany/geany-plugins] GitChangeBar: Support libgit2 1.4.x (PR #1165)

elextr notifications at xxxxx
Thu Mar 17 00:25:36 UTC 2022


@elextr commented on this pull request.



> @@ -49,6 +49,11 @@
 # define git_buf_dispose  git_buf_free
 # define git_error_last   giterr_last
 #endif
+#if ! defined (LIBGIT2_VER_MINOR) || ( (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR < 4) )
+# define gcb_git_buf_reserved asize

To be clear, my comment was not an objection, I was just noting the only __other__ way I can think of ... not a __better__ way.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1165#discussion_r828555650
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1165/review/912454338 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220316/a8a27e15/attachment-0001.htm>


More information about the Github-comments mailing list