Compiled and seems to work fine so far against libgit2 1.4.3.
There were two minor compiler warnings: ``` make[3]: Entering directory '/home/enrico/projects/geany-plugins/git-changebar/src' CC git_changebar_la-gcb-plugin.lo gcb-plugin.c: In function ‘get_blob_contents’: gcb-plugin.c:283:3: warning: missing initializer for field ‘commit_id’ of ‘git_blob_filter_options’ [-Wmissing-field-initializers] 283 | git_blob_filter_options opts = GIT_BLOB_FILTER_OPTIONS_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/git2.h:14, from gcb-plugin.c:29: /usr/include/git2/blob.h:141:18: note: ‘commit_id’ declared here 141 | git_oid *commit_id; | ^~~~~~~~~ gcb-plugin.c: In function ‘diff_buf_to_doc’: gcb-plugin.c:744:3: warning: missing initializer for field ‘interhunk_lines’ of ‘git_diff_options’ [-Wmissing-field-initializers] 744 | git_diff_options opts = GIT_DIFF_OPTIONS_INIT; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/git2/apply.h:13, from /usr/include/git2.h:12, from gcb-plugin.c:29: /usr/include/git2/diff.h:422:21: note: ‘interhunk_lines’ declared here 422 | uint32_t interhunk_lines; | ^~~~~~~~~~~~~~~ CCLD git-changebar.la ```
I'm going to use and test it for the next few days but I don't expect anything bad.