Messages in this thread |  | | | From | James Cloos <> | | Subject | Re: host a git archive on an rsync server? | | Date | Thu, 03 Dec 2009 01:44:43 -0500 |
| |
>>>>> "Dan" == Dan Carpenter <error27@gmail.com> writes:
Dan> Could someone do a git clone and put it on an rsync server for me?
You can rsync the bare repo from kernel.org at:
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
After you get the rsync of the bare tree, do:
git clone --reference linux-2.6.git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
then you can delete the linux-2.6/.git/objects/info/alternates file and copy the linux-2.6.git/objects/ tree to linux-2.6/.git/objects/.
(Making the separate clone and moving over the referenced objects is the best way to ensure that the resulting repo has the same settings as a direct clone would have. You may want to run a git gc after all of that to pack any loose objects from the rsync'ed repo.
-JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
|  |