This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Official GCC git repository


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]