From: Sam Ravnborg Date: Sun, 11 Sep 2005 19:46:30 GMT Subject: Re: What's up with the GIT archive on www.kernel.org? Message-ID: <20050911194630.GB22951@mars.ravnborg.org> In-Reply-To: > > > > Can you post a small description how to utilize this method? > > Just do > > echo /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects > objects/info/alternates > > in your tree, and that will tell git that your tree can use my object > directory as an "alternate" source of objects. At that point, you can > remove all objects that I have. OK - what I did: cd /pub/scm/linux/kernel/git/sam rm -rf kbuild.git git clone /pub/scm/linux/kernel/git/torvalds/linux-2.6.git kbuild.git rename to .git to kbuild.git I had to specify both GIT_DIR and GIT_OBJECT_DIRECTORY to make git-prune-packed behave as expected. I assume this is normal when I rename the .git directory like in this case. I will se if any pullers complins (mostly/only Andrew I think). Sam