[Github-comments] [geany-plugins] git-changebar: Fix compilation against libgit2 >= 0.23 (#283)

Enrico Tröger notifications at xxxxx
Tue Sep 8 21:49:45 UTC 2015


libgit2 changed its API and added a new argument to git_diff_buffers().

The new argument is a callback for binary files. This should not be relevant here because Geany probably won't be able to handle binary files in the near future.

I tested compilation with this patch against libgit2 0.22 *and* 0.23.

However, I could not test the plugin against 0.23 because of weird unresolved symbols in libgit2. I assume this is a temporary problem with my distro (ArchLinux).

@b4n not sure if you like the style, I broke the function arguments into one per line to make them more readable. Feel free to drop this PR and do it in another way.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/283

-- Commit Summary --

  * git-changebar: Fix compilation against libgit2 >= 0.23

-- File Changes --

    M git-changebar/src/gcb-plugin.c (17)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/283.patch
https://github.com/geany/geany-plugins/pull/283.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/283
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150908/fb684012/attachment.html>


More information about the Github-comments mailing list