Re: Git as a filesystem
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:36
Hi, On Fri, 21 Sep 2007, Eric Wong wrote:
Johannes Schindelin [off-list ref] wrote:quoted
On Fri, 21 Sep 2007, Eric Wong wrote:quoted
On a similar note, has anybody experimented with using git to store maildirs or news spools? I'd imagine the quoted portions of most message threads could be delta-compressed quite efficiently.I store all my mail in a git repository. Works beautifully. Except that the buffers on my laptop are constantly full :-( So a simple commit takes some waiting. Should be no issue on normal (desktop) machines.D'oh. I already have maildir performance problems on my laptop.
Umm. Regular operation is not affected, since I (add and) commit only when I weeded out all those spams and other unwanted mail.
I wonder how well only having an index and no commits (no versioning), and manual packing with pack-objects would work. Packing could be optimized to order objects based on the Message-Id, References, and In-Reply-To headers, too.
The most efficient way would be to have a mailer backend accessing the database, and then not have a working directory, methinks (especially with these amounts of mail I am juggling ATM). Time forbids working on this, though. Ciao, Dscho