Official GCC git repository

Stephen R. van den Berg srb@cuci.nl
Fri Mar 14 22:34:00 GMT 2008


Bernardo Innocenti wrote:
>Fair enough.  I hereby volunteer to setup and maintain the git
>mirror on gcc.gnu.org if someone provides me a shell account
>there.

Having done some heavy public git mirroring lately, and reconnecting old
trees (fixing history), the following might be useful:

Recommended .git/config settings before starting the mirror:

[repack]
        UseDeltaBaseOffset = true
[svn]
        noMetadata = true
[pack]
        compression = 9

And then in the importscript:

git svn fetch
git svn fetch -t
cp .git/remotes/* .git/heads	       # depending on where the SVN branches
cp .git/remotes/origin/* .git/heads    # end up
cp .git/remotes/trunk .git/heads/master
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg.



More information about the Gcc mailing list