Re: What's up with the GIT archive on www.kernel.org?
- From
Sam Ravnborg <sam@ravnborg.org>
- Date
- Sep 11, 2005, 19:46 UTC
- Message-ID
- <20050911194630.GB22951@mars.ravnborg.org>
- In-Reply-To
- <Pine.LNX.4.58.0509111157360.3242@g5.osdl.org>
Show 10 quoted lines
> > > > 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