has anyone made a read-only FUSE filesystem for a git repository where every commit is a folder and the folder contains all the files in that commit?

the idea is that you could just run `cd COMMIT_ID` and poke around instead of checking out the commit

and maybe the branches could be symbolic links to the commit folders?

guys this is such a fun idea I cannot believe people are in the replies trying to explain to me why they think it is impractical

the whole point of computers is to do impractical things and see what happens

@b0rk at recurse last week someone made a fuse filesystem on top of SQLite and then demoed using SQLite in their filesystem, this is like a billion times more practical than that and also that demo was awesome
@simrob @b0rk If you can get a link, I'm interested.
https://mamot.fr/@dolmen/111464201879695372
Olivier Mengué (@[email protected])

@[email protected] I'm now thinking about writing in Go a FUSE fs that exposes any io/fs.FS. I recently wrote an io/fs.FS that exposes an SQLite Archive. https://github.com/dolmen-go/sqlar

La Quadrature du Net - Mastodon - Media Fédéré
@simrob @b0rk we want names!... errrr, links to code!