From: Linus Torvalds <torvalds@osdl.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Ian Molton <spyro@f2s.com>, git@vger.kernel.org
Subject: Re: Handling large files with GIT
Date: Tue, 14 Feb 2006 11:52:26 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.64.0602141108050.3691@g5.osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0602141953000.22451@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, 14 Feb 2006, Johannes Schindelin wrote:
>
> Point is, if you want to read your email on different computers (like one
> desktop and one laptop), you are quite well off managing them with git. Of
> course, you could rsync them from/to the other computer. But rsync is slow
> once you accumulated enough files, since it has to compare the hashes of
> tons of files (or file chunks). Git knows if they have changed.
Yes. I actually think that git would be a _wonderful_ email tracking tool,
but that may not mean that it's a wonderful tool for tracking all
particular email layout possibilities. It clearly is _not_ a wonderful
tool for tracking mbox-style email setups, for example ;)
I suspect we actually could make the "one linear directory" setup perform
pretty well. It wouldn't be the best possible layout (by far), but I think
our problems there are just because of some decisions we've (me, mostly)
made that didn't take that layout into account. I don't think the problems
are in any way fundamental.
That said, I think git could do much better if the layout was optimized
for git. For example, in the maildir thing, there's two issues: the flat
directory structure is sub-optimal, but the other thing seems to be that
maildir apparently saves metadata in the filename.
Saving meta-data in the filename should actually work wonderfully well
with git, but both merging and git-diff-tree consider the filename to be
the "index", so they optimize for that. You could do indexing the other
way around, and consider the contents to be the index (and the filename is
the "status"), but that's obviously not sane for a sw project, even if it
might be exactly what you want to do for mail handling.
Linus
next prev parent reply other threads:[~2006-02-14 19:52 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 9:14 Handling large files with GIT Martin Langhoff
2006-02-08 11:54 ` Johannes Schindelin
2006-02-08 16:34 ` Linus Torvalds
2006-02-08 17:01 ` Linus Torvalds
2006-02-08 20:11 ` Junio C Hamano
2006-02-08 21:20 ` Florian Weimer
2006-02-08 22:35 ` Martin Langhoff
2006-02-13 1:26 ` Ben Clifford
2006-02-13 3:42 ` Linus Torvalds
2006-02-13 4:57 ` Linus Torvalds
2006-02-13 5:05 ` Linus Torvalds
2006-02-13 23:17 ` Ian Molton
2006-02-13 23:19 ` Martin Langhoff
2006-02-14 18:56 ` Johannes Schindelin
2006-02-14 19:52 ` Linus Torvalds [this message]
2006-02-14 21:21 ` Sam Vilain
2006-02-14 22:01 ` Linus Torvalds
2006-02-14 22:30 ` Junio C Hamano
2006-02-15 0:40 ` Sam Vilain
2006-02-15 1:39 ` Junio C Hamano
2006-02-15 4:03 ` Sam Vilain
2006-02-15 2:07 ` Martin Langhoff
2006-02-15 2:05 ` Linus Torvalds
2006-02-15 2:18 ` Linus Torvalds
2006-02-15 2:33 ` Linus Torvalds
2006-02-15 3:58 ` Linus Torvalds
2006-02-15 9:54 ` Junio C Hamano
2006-02-15 15:44 ` Linus Torvalds
2006-02-15 17:16 ` Linus Torvalds
2006-02-16 3:25 ` Linus Torvalds
2006-02-16 3:29 ` Junio C Hamano
2006-02-16 20:32 ` Fredrik Kuivinen
2006-02-13 5:55 ` Jeff Garzik
2006-02-13 6:07 ` Keith Packard
2006-02-14 0:07 ` Martin Langhoff
2006-02-13 16:19 ` Linus Torvalds
2006-02-13 4:40 ` Martin Langhoff
2006-02-09 4:54 ` Greg KH
2006-02-09 5:38 ` Martin Langhoff
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0602141108050.3691@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=spyro@f2s.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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).