by Retr0id · 10mo ago · 0 comments
I found https://github.com/chrislloyd/git-remote-sqlite as a way to achieve git-on-sqlite, which works by registering itself as a git "remote" helper.
Amusingly there exists a "Why SQLite Does Not Use Git" article (https://sqlite.org/whynotgit.html), but there is no corresponding "Why Git Does Not Use SQLite".
For one, you probably don't want your git repo permanently corrupted if you happen to be running it over an NFS mount.
There is a lot of value in "scattered write-once files" as a storage mechanism.
And yet Fossil doesn't use SQLite for its own data model, just as a blob store with indices.
"Fossil is not Relational": https://fossil-scm.org/home/doc/trunk/www/fossil-is-not-rela...