Re: Remove diff machinery dependency from read-cache
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jan 22, 2010, 03:58 UTC
- Message-ID
- <alpine.LFD.2.00.1001211950480.13231@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.00.1001211119130.13231@localhost.localdomain>
On Thu, 21 Jan 2010, Linus Torvalds wrote:
Show 8 quoted lines
> > It's not just that one file either. I get: > > [torvalds@nehalem git]$ du -s /home/torvalds/libexec/git-core > 45640 /home/torvalds/libexec/git-core (before) > 33508 /home/torvalds/libexec/git-core (after) > > so we're talking 12MB of diskspace here.
Btw, with the few built-in patches I've sent, it's now
[torvalds@nehalem git]$ du -s /home/torvalds/libexec/git-core 27876 /home/torvalds/libexec/git-core
so they're worth about 5.5M of disk-space.
Of course, without debugging and with -Os, the difference is much smaller, and libexec ends up being "just" 8.6MB in size. There are still a number of trivial programs that could be made builtin.
Optimally, I suspect just things like 'git-daemon' and the remote helpers would be actual separate binaries.
Linus