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

Re: strange error while pushing

From
Jeff King <peff@peff.net>
Date
Dec 13, 2009, 23:02 UTC
Message-ID
<20091213230214.GA27365@sigill.intra.peff.net>
In-Reply-To
<40aa078e0912131441i370d9c23r65c42fe1f46bd194@mail.gmail.com>
On Sun, Dec 13, 2009 at 11:41:49PM +0100, Erik Faye-Lund wrote:
Show 12 quoted lines
> I was going to push some stuff I'm working on to my repo at
> repo.or.cz, and just got the following error:
> 
> $ GIT_TRACE=1 git push kusma work/daemon-win32:work/daemon-win32-process
> trace: built-in: git 'push' 'kusma'
> 'work/daemon-win32:work/daemon-win32-process'
> trace: run_command: 'ssh' 'repo.or.cz' 'git-receive-pack
> '\''/srv/git/git/kusma.git'\'''
> trace: run_command: 'pack-objects' '--all-progress-implied' '--revs'
> '--stdout' '--thin'
> trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs'
> '--stdout' '--thin'

I notice your pack-objects is being called with the new --all-progress-implied, and then you get a usage error with pack-objects:

Show 8 quoted lines
> usage: git pack-objects [{ -q | --progress | --all-progress }]
>         [--max-pack-size=N] [--local] [--incremental]
>         [--window=N] [--window-memory=N] [--depth=N]
>         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]
>         [--threads=N] [--non-empty] [--revs [--unpacked | --all]*] [--reflog]
>         [--stdout | base-name] [--include-tag]
>         [--keep-unreachable | --unpack-unreachable]
>         [<ref-list | <object-list]

Is it possible you have a new git accidentally calling an old version of pack-objects?

-Peff
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 3 of 7 in “strange error while pushing”
  1. Erik Faye-LundDec 13, 2009
  2. Erik Faye-LundDec 13, 2009
  3. Jeff KingDec 13, 2009
  4. Erik Faye-LundDec 13, 2009
  5. Sverre RabbelierDec 14, 2009
  6. Johannes SchindelinDec 14, 2009
  7. Sverre RabbelierDec 14, 2009

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.