* Problem packing repository
@ 2009-06-22 3:24 Larry Finger
2009-06-22 6:30 ` Johannes Sixt
0 siblings, 1 reply; 5+ messages in thread
From: Larry Finger @ 2009-06-22 3:24 UTC (permalink / raw)
To: git
For the past 2 weeks, every pull from the mainline kernel repository
has included the following message about "Auto packing" that fails to
complete.
git --version yields "git version 1.6.3.2.198.g6096d"
================================================
Auto packing your repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem packing repository
2009-06-22 3:24 Larry Finger
@ 2009-06-22 6:30 ` Johannes Sixt
2009-06-22 14:53 ` Larry Finger
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Sixt @ 2009-06-22 6:30 UTC (permalink / raw)
To: Larry Finger; +Cc: git
Larry Finger schrieb:
> For the past 2 weeks, every pull from the mainline kernel repository
> has included the following message about "Auto packing" that fails to
> complete.
>
> git --version yields "git version 1.6.3.2.198.g6096d"
>
> ================================================
>
> Auto packing your repository for optimum performance. You may also
> run "git gc" manually. See "git help gc" for more information.
> 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
I'm pretty sure that you have inconsistent versions of git in your PATH.
You can use GIT_TRACE=2 to debug this. I think that you should get the
same error if you run 'git gc' manually.
-- Hannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem packing repository
2009-06-22 6:30 ` Johannes Sixt
@ 2009-06-22 14:53 ` Larry Finger
0 siblings, 0 replies; 5+ messages in thread
From: Larry Finger @ 2009-06-22 14:53 UTC (permalink / raw)
To: Johannes Sixt; +Cc: git
Johannes Sixt wrote:
> Larry Finger schrieb:
>> For the past 2 weeks, every pull from the mainline kernel repository
>> has included the following message about "Auto packing" that fails to
>> complete.
>>
>> git --version yields "git version 1.6.3.2.198.g6096d"
>>
>> ================================================
>>
>> Auto packing your repository for optimum performance. You may also
>> run "git gc" manually. See "git help gc" for more information.
>> 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
>
> I'm pretty sure that you have inconsistent versions of git in your PATH.
> You can use GIT_TRACE=2 to debug this. I think that you should get the
> same error if you run 'git gc' manually.
Thanks. My initial git installation came from an openSUSE 11.1
package. I had then pulled the source, deleted the package, then built
and installed the new version. Unfortunately, not everything was
removed, but it is working now.
Larry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problem packing repository
@ 2009-07-27 15:31 Murphy, John
2009-07-27 15:56 ` Shawn O. Pearce
0 siblings, 1 reply; 5+ messages in thread
From: Murphy, John @ 2009-07-27 15:31 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem packing repository
2009-07-27 15:31 Problem packing repository Murphy, John
@ 2009-07-27 15:56 ` Shawn O. Pearce
0 siblings, 0 replies; 5+ messages in thread
From: Shawn O. Pearce @ 2009-07-27 15:56 UTC (permalink / raw)
To: Murphy, John; +Cc: git
"Murphy, John" <john.murphy@bankofamerica.com> wrote:
> 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 }]
At first glance it would seem you are running an older version of
the git-pack-objects binary. Maybe check the system calls with
truss and find out which binary its exec'ing ?
--
Shawn.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-27 15:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 15:31 Problem packing repository Murphy, John
2009-07-27 15:56 ` Shawn O. Pearce
-- strict thread matches above, loose matches on Subject: below --
2009-06-22 3:24 Larry Finger
2009-06-22 6:30 ` Johannes Sixt
2009-06-22 14:53 ` Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).