Modifications to libgit2 itself remain under GPL-2.0
Catalog row in Vendor License Rules · Cited
- Kind
- Copyleft
- Statement
- The libgit2 linking exception does not cover changes to the library: the GPL still applies to modification of the files and to distribution other than linked into a combined executable. The libgit2 README states that a party that modifies libgit2 must distribute the source of the modified version. (as published on 2026-09-27)
- Applies when
- Distributing a patched libgit2 or libgit2 in a form other than linked into an executable.
- Applies to
- libgit2 (the library and language bindings that embed it, such as those for Ruby, .NET, Python, Node.js and Rust)