On Tue, 05 Feb 2019 11:42:48 +0100
Emery Hemingway <eh...@posteo.net> wrote:

> On Sunday, February 3, 2019 3:32:30 PM CET, Mayuresh Kathe wrote:
> > is there a port of "libgit2" available?
> 
> Libgit2 *is not* portable. They use mmap everywhere for I/O, which breaks
> for 9P or NFS.
> 
> https://github.com/libgit2/libgit2/blob/635693d3bc55770ec7a6640ba3f2f0ee434a6042/src/indexer.c#L597
> 

libgit2 has defines that allow it to work without mmap. It needs a bit of
work to port to plan 9, but I did it in the past.

https://bitbucket.org/oridb/libgit2/commits/all

I'm not currently maintaining it. I'm not sure how much of it actually works.

-- 
Ori Bernstein <o...@eigenstate.org>

Reply via email to