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

Problem packing repository

From
MJMurphy, John <john.murphy@bankofamerica.com>
Date
Jul 27, 2009, 15:31 UTC
Message-ID
<F635344B8FC01740B0AA69090F092E9B01669B3C@ex2k.bankofamerica.com>

I thought I resolved this problem with an upgrade to version 1.6.3.2.306.g4f4fa

I am getting this from git-gc in repositories that alternates:
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]
I tried running with GIT_TRACE=2 and I do not see anything glaring.
sudo -u git -s 'export
GIT_DIR='/docbuilder/git/repos/aimcore.git';export GIT_TRACE=2;git gc'
trace: built-in: git 'gc'
trace: run_command: 'reflog' 'expire' '--all'
trace: exec: 'git' 'reflog' 'expire' '--all'
trace: built-in: git 'reflog' 'expire' '--all'
trace: run_command: 'repack' '-d' '-l' '-A'
trace: exec: 'git' 'repack' '-d' '-l' '-A'
trace: exec: 'git-repack' '-d' '-l' '-A'
trace: built-in: git 'rev-parse' '--parseopt' '--' '-d' '-l' '-A'
trace: built-in: git 'rev-parse' '--git-dir'
trace: built-in: git 'config' '--bool' 'repack.usedeltabaseoffset'
trace: built-in: git 'pack-objects' '--honor-pack-keep' '--non-empty'
'--all' '--reflog' '--unpack-unreachable' '--local'
'--delta-base-offset'
'/docbuilder/git/repos/aimcore.git/objects/.tmp-13099-pack'
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]
error: failed to run repack
Next: Shawn O. Pearce
Message 1 of 2 in “Problem packing repository”
  1. Murphy, JohnJul 27, 2009
  2. Shawn O. PearceJul 27, 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.