Re: error: wrong index file size in /usr/local/src/jffs2_mtd_patches/.git/objects/pack/pack-da39a3ee5e6b4b0d3255bfef95601890afd80709.idx
- From
David Woodhouse <dwmw2@infradead.org>
- Date
- Jun 26, 2007, 20:55 UTC
- Message-ID
- <1182891315.3263.47.camel@shinybook.infradead.org>
- In-Reply-To
- <001401c7b82d$106f30b0$0e67a8c0@Jocke>
On Tue, 2007-06-26 at 22:03 +0200, Tjernlund wrote:
Show 9 quoted lines
> Did this and got a small error that I don't think should be there: > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 > > cd linux-2.6 > git gc > cd .. > > git clone --reference linux-2.6 ssh://git.infradead.org/~/public_git/jffs2_mtd_patches
Your jffs2_mtd_patches tree is just a clone of git://git.infradead.org/mtd-2.6.git, isn't it?
I get the same error when cloning that:
pmac /home/dwmw2/x $ git-clone --reference /pmac/git/linux-2.6 git://git.infradead.org/mtd-2.6.git Initialized empty Git repository in /home/dwmw2/x/mtd-2.6/.git/ remote: Generating pack... remote: Done counting 0 objects. remote: Total 0 (delta 0), reused 0 (delta 0) Indexing 0 objects... error: wrong index file size in /home/dwmw2/x/mtd-2.6/.git/objects/pack/pack-da39a3ee5e6b4b0d3255bfef95601890afd80709.idx Checking 21649 files out... 100% (21649/21649) done
The mtd-2.6.git tree has _no_ objects of its own at the moment; I've committed nothing since Linus' last pull, and there's a weekly 'git-repack -a -l -d', which will remove any local objects which are already in git://git.infradead.org/linux-2.6.git. Cloning linux-2.6.git from there works fine, but cloning mtd-2.6.git shows the above error.
-- dwmw2