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

elextr notifications at xxxxx
Sun Mar 13 23:25:13 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

Only putting `#if` around each use (there are only two AFAICT so it would be not too intrusive, but lots of trailing space removal noise might be hiding more) but this is fine here.

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

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


More information about the Github-comments mailing list