git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: FUSE fs for git.

From
EWEric Wong <e@80x24.org>
Date
Feb 25, 2021, 05:32 UTC
Message-ID
<20210225053240.GA10230@dcvr>
In-Reply-To
<CANXojcx0TOP9SSr1NgXCddQ3PWze-wBLZA5SRO3YhczqO68u0Q@mail.gmail.com>
Stef Bon <stefbon@gmail.com> wrote:
> - is there an api I can use (lowlevel and/or highlevel or whatever is
> available)?

I've used "git cat-file --batch" in many places via pipes. Git.pm provides a convenient interface for it. It handles requests like "$REFNAME:$PATHNAME" so it'd be pretty easy to map FS-like paths to it.

"git fast-import" is also nice if you need write access and nowadays has "cat-blob" functionality similar to the aforementioned --batch.

Previous: Ævar Arnfjörð Bjarmason
Message 5 of 5 in “FUSE fs for git.”
  1. Stef BonFeb 21, 2021
  2. Ori BernsteinFeb 25, 2021
  3. Stef BonMar 1, 2021
  4. Ævar Arnfjörð BjarmasonMar 1, 2021
  5. Eric WongFeb 25, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.