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

Re: error: packfile size changed

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Feb 9, 2010, 14:15 UTC
Message-ID
<40aa078e1002090615m3fb94fc5k89d968eebe2c137a@mail.gmail.com>
In-Reply-To
<40aa078e1002080917s1c23580bo815de0c1afa4922@mail.gmail.com>
On Mon, Feb 8, 2010 at 6:17 PM, Erik Faye-Lund <kusmabite@googlemail.com> wrote:
Show 30 quoted lines
> I was just about to push out a branch to a remote repo, and got a
> quite worrying error message:
>
> $ git push kusma work/git-svn-autocrlf
> Counting objects: 3475, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (1132/1132), done.
> Writing objects: 100% (2503/2503), 933.82 KiB, done.
> Total 2503 (delta 1909), reused 1927 (delta 1362)
> error: packfile
> ./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack size
> changed
> error: packfile
> ./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack
> cannot be accessed
> error: unpack should have generated
> 83d114b6781e06b422a2062854dd3dede3795079, but I can't find it!
> To ssh://kusma@repo.or.cz/srv/git/git/kusma.git
>  ! [remote rejected] work/git-svn-autocrlf -> work/git-svn-autocrlf (bad pack)
> error: failed to push some refs to
> 'ssh://kusma@repo.or.cz/srv/git/git/kusma.git'
>
> The push was attempted with git v1.7.0.rc2. It fails with v1.6.6.1
> (and msysgit's devel-branch, 1.6.5.1.1375.gc836) as well.
>
> I tried running "git fsck --full", but it didn't report anything apart
> from dangling objects.
>
> Any ideas, anyone?
>

I tried doing the same again today, and it worked just fine. Perhaps it was just some glitch at the other end?

-- 
Erik "kusma" Faye-Lund
Previous: Erik Faye-Lund
Message 2 of 2 in “error: packfile size changed”
  1. Erik Faye-LundFeb 8, 2010
  2. Erik Faye-LundFeb 9, 2010

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.