[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m3fx7s8sjw.fsf@lugabout.jhcloos.org>
Date: Thu, 03 Dec 2009 01:44:43 -0500
From: James Cloos <cloos@...loos.com>
To: Dan Carpenter <error27@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: host a git archive on an rsync server?
>>>>> "Dan" == Dan Carpenter <error27@...il.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@...loos.com> OpenPGP: 1024D/ED7DAEA6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists