This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Git and GCC
- From: Samuel Tardieu <sam at rfc1149 dot net>
- To: "Daniel Berlin" <dberlin at dberlin dot org>
- Cc: Ismail Dönmez <ismail at pardus dot org dot tr>, gcc at gcc dot gnu dot org
- Date: Wed, 05 Dec 2007 21:23:13 +0100
- Subject: Re: Git and GCC
- References: <4aca3dc20712051108s216d3331t8061ef45b9aa324a@mail.gmail.com>
>>>>> "Daniel" == Daniel Berlin <dberlin@dberlin.org> writes:
Daniel> So I tried a full history conversion using git-svn of the gcc
Daniel> repository (IE every trunk revision from 1-HEAD as of
Daniel> yesterday) The git-svn import was done using repacks every
Daniel> 1000 revisions. After it finished, I used git-gc --aggressive
Daniel> --prune. Two hours later, it finished. The final size after
Daniel> this is 1.5 gig for all of the history of gcc for just trunk.
Most of the space is probably taken by the SVN specific data. To get
an idea of how GIT would handle GCC data, you should clone the GIT
directory or checkout one from infradead.org:
% git clone git://git.infradead.org/gcc.git
On my machine, it takes 856M with a checkout copy of trunk and
contains the trunk, autovect, fixed-point, 4.1 and 4.2 branches. In
comparaison, my checked out copy of trunk using SVN requires 1.2G, and
I don't have any history around...
Sam
--
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/