Re: What's up with the GIT archive on www.kernel.org?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 11, 2005, 19:56 UTC
- Message-ID
- <Pine.LNX.4.58.0509111251150.3242@g5.osdl.org>
- In-Reply-To
- <20050911194630.GB22951@mars.ravnborg.org>
On Sun, 11 Sep 2005, Sam Ravnborg wrote:
> > 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.
You should only need to specify GIT_DIR - it should figure out that the object directory follows GIT_DIR on its own.
Also, I forget what version of git is installed on kernel.org. The "alternates" support has been around for a while, and looking at the date of "/usr/bin/git" it _seems_ recent (Sep 7), but I haven't seen any announcement of updating since the last one (which was git-0.99.4, which is too old).
You can try removing all the packs in your .git/objects/packs directory. Everything _should_ still work fine.
Famous last words.
Linus