libgit2

git_libgit2_capabilities

Version:

Query compile time options for libgit2.

  • GIT_CAP_THREADS Libgit2 was compiled with thread support. Note that thread support is still to be seen as a 'work in progress'.
  • GIT_CAP_HTTPS Libgit2 supports the https:// protocol. This requires the open ssl library to be found when compiling libgit2.

Signature

int git_libgit2_capabilities();

Returns

int

A combination of GIT_CAP_* values.

Versions