Thread (30 messages) flat view 30 messages, 17 authors, 2016-06-15

Re: Git vs Monotone

From: David Kastrup <hidden>
Date: 2016-06-15 22:45:05

Linus Torvalds [off-list ref] writes:
On Thu, 31 Jul 2008, Craig L. Ching wrote:
quoted
It's possible he's doing that, but it's also possible he just isn't that
familiar with git.
Possible. But it really sounded like he didn't even try. Because quite 
frankly, if he had even bothered to _try_, he wouldn't have gotten the 
numbers he got.

The fact is, even without "-s", a local clone will do hardlinks for the 
database.
That means that git takes up less disk space.  It does not mean that it
looks like it.

If you do a df before and afterwards, you'll notice (but that does not
seem reliable as other changed might happen in the file system).  If you
do "du" into the individual clones, you won't notice it.

It is quite plausible that he might have tried it, but misinterpreted
the results.

It is a similar situation with size estimates when sparse files are
involved: they may take up less space than what it looks like.

-- 
David Kastrup
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help