Lua bindings for libgit2
C Lua CMake
Latest commit e66a6a9 Jan 23, 2017 @Neopallium Neopallium Add copyright file.
Failed to load latest commit information.
src Update pre-genereated bindings. Jun 13, 2012
tests Test reference counting of custom backends. May 25, 2012
.gitignore Added note about requiring LuaNativeObjects and a link to it. Jan 7, 2011
CMakeLists.txt Fix linking with libgit2 in non-system lib folder. Jun 15, 2012
COPYRIGHT Add copyright file. Jan 23, 2017 Add link to API docs. Jun 20, 2012
lua-git2-scm-0.rockspec Add include/lib path for libgit2. May 24, 2012
utils.lua Updated pre-generated bindings. Jan 9, 2011


LibGit2 bindings for Lua. API Docs

libgit2 version

Currently supports version v0.17.0


Install lua-git2:

luarocks install

To re-generating the bindings

You will need to install LuaNativeObjects and set the CMake variable USE_PRE_GENERATED_BINDINGS to FALSE. By default CMake will use the pre-generated bindings that are include in the project.

Build Dependencies

Optional dependency for re-generating Lua bindings from *.nobj.lua files:

  • LuaNativeObjects, this is the bindings generator used to convert the *.nobj.lua files into a native Lua module.