Lindenii Project Forge
Login

hare-libgit2

Hare bindings for libgit2 (BROKEN)

ssh://forge.lindenii.runxiyu.org/hare/-/repos/hare-libgit2

653a7c01 — Runxi Yu 2025-03-13 18:10:34
Change repo URL
2e25d4b1 — Runxi Yu 2025-03-11 06:37:14
Add repository_init_flag_t
278819d0 — Runxi Yu 2025-03-11 04:07:36
Add repository_init

Hare bindings for libgit2

This is a set of bindings for libgit2.

Most symbols correspond to the libgit2 API directly with the git_/GIT_ prefix removed. Where possible, string parameters are accepted as str and are converted to NUL-terminated strings automatically.

Building and linking

Remember to pass -lgit2 to hare build, or otherwise link against libgit2.

Contributing

Create a branch that begins with contrib/ and push to the main repo via SSH directly.

git clone ssh://forge.lindenii.runxiyu.org/hare/:/repos/hare-libgit2/
cd hare-libgit2
git checkout -b contrib/whatever
# edit and commit stuff
git push -u origin HEAD

License

GNU GPL version 2, with an linking exception. See the COPYING file for details.