git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Tjernlund
Message 4 of 4 in “error: wrong index file size in /usr/local/src/jffs2_mtd_patches/.git/objects/pack/pack-da39a3ee5e6b4b0d3255bfef95601890afd80709.idx”
  1. TjernlundJun 26, 2007
  2. Linus TorvaldsJun 26, 2007
  3. TjernlundJun 26, 2007
  4. David WoodhouseJun 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.