error: ‘git_clone_options’ has no member named ‘remo te_name’ when compiling against libgit2-0.22.0
Submitted by Martin von Gagern
Link to original bug (#743118)
Description
Since https://github.com/libgit2/libgit2/commit/1697cd6ff5d29c95106ff4b7bd56ebba5d51b8c1 the git_clone_options structure of libgit2 no longer has a member “const char *remote_name” but instead a callback “git_remote_create_cb remote_cb”. For this reason, libgit2-glib won't compile against libgit2-0.22.0. Libgit2-glib should react to this change in some reasonable way. Either by providing a compatibility layer, or by deliberately breaking backwards compatibility to follow upstream development.
Originally reported this as https://bugs.gentoo.org/show_bug.cgi?id=536952.
Version: git master
Resolution: RESOLVED NOTABUG