Skip to Content

libgit2 v1.8.0

Created
Updated

A C library implementing the Git core methods with a solid API

# Usage

libgit2 can be imported via CMake FindPkgConfig module:

find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBGIT2 REQUIRED IMPORTED_TARGET libgit2)
target_link_libraries(main PRIVATE PkgConfig::LIBGIT2) 

vcpkg provides proprietary CMake targets:

find_package(unofficial-libgit2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libgit2::libgit2) 

# License

Unspecified

# Supported Platforms

!uwp

  • linux
  • osx
  • windows
  • uwp

# Features

Default features: pcre , ssl

# mbedtls

SSL support (mbedTLS)

Supports: !windows
  • linux
  • osx
  • windows
Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# openssl

SSL support (OpenSSL)

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# pcre default

Build against external libpcre

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# pcre2

Build against external libpcre2

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# sectransp

SSL support (sectransp)

Supports: osx
  • osx
  • linux
  • windows
Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# ssh

SSH support via libssh2

Dependencies:
and 2 transitive dependencies:
Host Dependencies:
3 transitive dependencies:

# ssl default

Default SSL backend

Dependencies:
  • libgit2

    Platforms: osx
    Features: sectransp

  • libgit2

    Platforms: windows
    Features: winhttp

  • libgit2

    Platforms: !windows & !osx
    Features: openssl

and one transitive dependency:
Host Dependencies:
3 transitive dependencies:

# tools

Build CLI tools

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# winhttp

SSL support (WinHTTP)

Supports: windows & !uwp
  • windows
  • linux
  • osx
Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# Dependencies

No transitive dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

# Host Dependents

No dependents.

# Contributors

  • Force Charlie's avatar Force Charlie
  • Force.Charlie-I's avatar Force.Charlie-I
  • kjpus's avatar kjpus
  • Robert Schumacher's avatar Robert Schumacher
  • pravic's avatar pravic
  • wangli28's avatar wangli28
  • Kevin Lu's avatar Kevin Lu
  • Phil Christensen's avatar Phil Christensen
  • Lily's avatar Lily
  • JonLiu1993's avatar JonLiu1993
  • chausner's avatar chausner
  • autoantwort's avatar autoantwort
  • LilyWangLL's avatar LilyWangLL
  • Edoardo Lolletti's avatar Edoardo Lolletti
  • Raziel Anarki's avatar Raziel Anarki
  • Kai Pastor's avatar Kai Pastor
  • Raziel Anarki's avatar Raziel Anarki
  • Billy O'Neal's avatar Billy O'Neal

# Changelog

  • 0857a4b Patch Tuesday for November 2024 (#42165)
  • c561d1e [libgit2] Update to 1.8.0 (#38169)
  • 505cba2 [libssh2,libgit2,vcpkg-ci-libgit2] Fix, test, cleanup (#32440)
  • 2585709 [libgit2] Update to 1.6.4 (#31651)
  • e8a229a [libgit2] Add GIT_OPENSSL OPTION to fix setting certificate location fail (#31392)
  • 5cbbfb9 [libgit2] fix support expressions (#31365)
  • a9adae7 [libgit2] use support expressions (#31278)
  • 59f1aea [libgit2] Update to 1.4.2 (#23184)
  • 3a68454 [libgit2] Add Exported CMake Targets (#21670)
  • 28fe97c [libgit2] no absolute paths (#21172)
and 17 more commits:

# Source