list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: Ori Bernstein <>
To: Stef Bon <>
Subject: Re: FUSE fs for git.
Date: Wed, 24 Feb 2021 20:40:07 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sun, 21 Feb 2021 11:12:19 +0100, Stef Bon <> wrote:
> Now I'm looking it's possible and usefull to add a git fuse fs. The
> thing I ask is:
> - is there an api I can use (lowlevel and/or highlevel or whatever is
> available)?

Not provided as part of git, as far as I'm aware,
but there are other options.

You can probably look at what cgit does to abuse
git internals as an API:

It may also make sense to lift code from game
of trees:

There's also libgit2:

> - is it usefull, in other words is there a serious benefit of a git
> filesystem: does it add something?

That seems like a question you'd have to ask yourself.
What would you do with it?

For me: I've got a 9p based git file system as part of
my implementation of git[1].  It's convenient for scripts
on top of git, avoiding scratch files or pipeline wrangling.
But on Unix, git already has much of that implemented.

I also tend to open files from old commits or other branches
to peek at how some code evolved.


    Ori Bernstein

  reply	other threads:[~2021-02-25  4:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21 10:12 Stef Bon
2021-02-25  4:40 ` Ori Bernstein [this message]
2021-03-01  7:45   ` Stef Bon
2021-03-01 14:08     ` Ævar Arnfjörð Bjarmason
2021-02-25  5:32 ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: FUSE fs for git.' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).