{"thread":{"id":"20245","subject":"Problem packing repository","startedAt":"2009-07-27T15:31:39Z","lastAt":"2009-07-27T15:56:03Z","messageCount":2,"participants":["Murphy, John","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118880","messageId":"F635344B8FC01740B0AA69090F092E9B01669B3C@ex2k.bankofamerica.com","threadId":"20245","inReplyTo":null,"subject":"Problem packing repository","fromName":"Murphy, John","fromEmail":"john.murphy@bankofamerica.com","sentAt":"2009-07-27T15:31:39Z","receivedAt":"2009-07-27T15:31:39Z","isPatch":false,"sender":{"key":"john.murphy@bankofamerica.com","avatar":null},"body":"I thought I resolved this problem with an upgrade to version\n1.6.3.2.306.g4f4fa\n\nI am getting this from git-gc in repositories that alternates:\n\nusage: git-pack-objects [{ -q | --progress | --all-progress }] \n        [--max-pack-size=N] [--local] [--incremental] \n        [--window=N] [--window-memory=N] [--depth=N] \n        [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n        [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]\n[--reflog] \n        [--stdout | base-name] [--include-tag] \n        [--keep-unreachable | --unpack-unreachable] \n        [<ref-list | <object-list]\n\n\nI tried running with GIT_TRACE=2 and I do not see anything glaring.\n\nsudo -u git -s 'export\nGIT_DIR='/docbuilder/git/repos/aimcore.git';export GIT_TRACE=2;git gc'\ntrace: built-in: git 'gc'\ntrace: run_command: 'reflog' 'expire' '--all'\ntrace: exec: 'git' 'reflog' 'expire' '--all'\ntrace: built-in: git 'reflog' 'expire' '--all'\ntrace: run_command: 'repack' '-d' '-l' '-A'\ntrace: exec: 'git' 'repack' '-d' '-l' '-A'\ntrace: exec: 'git-repack' '-d' '-l' '-A'\ntrace: built-in: git 'rev-parse' '--parseopt' '--' '-d' '-l' '-A'\ntrace: built-in: git 'rev-parse' '--git-dir'\ntrace: built-in: git 'config' '--bool' 'repack.usedeltabaseoffset'\ntrace: built-in: git 'pack-objects' '--honor-pack-keep' '--non-empty'\n'--all' '--reflog' '--unpack-unreachable' '--local'\n'--delta-base-offset'\n'/docbuilder/git/repos/aimcore.git/objects/.tmp-13099-pack'\nusage: git-pack-objects [{ -q | --progress | --all-progress }] \n        [--max-pack-size=N] [--local] [--incremental] \n        [--window=N] [--window-memory=N] [--depth=N] \n        [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n        [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]\n[--reflog] \n        [--stdout | base-name] [--include-tag] \n        [--keep-unreachable | --unpack-unreachable] \n        [<ref-list | <object-list]\nerror: failed to run repack\n"},{"id":"118881","messageId":"20090727155603.GM11191@spearce.org","threadId":"20245","inReplyTo":"F635344B8FC01740B0AA69090F092E9B01669B3C@ex2k.bankofamerica.com","subject":"Re: Problem packing repository","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2009-07-27T15:56:03Z","receivedAt":"2009-07-27T15:56:03Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"\"Murphy, John\" <john.murphy@bankofamerica.com> wrote:\n> I thought I resolved this problem with an upgrade to version\n> 1.6.3.2.306.g4f4fa\n> \n> I am getting this from git-gc in repositories that alternates:\n> \n> usage: git-pack-objects [{ -q | --progress | --all-progress }] \n\nAt first glance it would seem you are running an older version of\nthe git-pack-objects binary.  Maybe check the system calls with\ntruss and find out which binary its exec'ing ?\n\n-- \nShawn.\n"}]}