From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 7 Feb 2019 10:26:53 -0800 From: Ori Bernstein To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-Id: <20190207102653.024ba64488f6812eec287da7@eigenstate.org> In-Reply-To: <4133dfdd-4552-47da-9eb0-1689533aa67d@posteo.net> References: <822b3887d5a5a831ca812aa12a4d7026@kathe.in> <4133dfdd-4552-47da-9eb0-1689533aa67d@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] any git client? Topicbox-Message-UUID: f4fb68ba-ead9-11e9-9d60-3106f5b1d025 On Tue, 05 Feb 2019 11:42:48 +0100 Emery Hemingway 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