bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confused about source code of coreutils


From: Eric Blake
Subject: Re: Confused about source code of coreutils
Date: Sun, 21 Oct 2007 09:01:26 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andreas Schwab on 10/21/2007 7:25 AM:
>> Or have I done something wrong?
> 
> A clone of the git repository contains the whole history, whereas a
> checked out cvs repository only contains the files at the head revision.
> The full cvs repository has 88MB.  The git repository is already packed,
> so it can't be reduced much further, apart from running `git gc
> --aggressive'.

Or you could use the relatively new git concept of a shallow clone, which
only grabs the recent state of the repository without all the history.
You can't do as much with a shallow clone, but if all you wanted was a
snapshot of the current state, it fits the bill for smaller disk usage.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHG2nG84KuGfSFAYARAma2AKCf8REojq/6Frak7ZZStMNaUD0tLgCgnBR/
/soR4jnTTL6zC99rls/Zxns=
=ULvt
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]