git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git repack on shallow clone of large repo (linux kernel) hangs at "Enumerating objects"
@ 2021-05-16 13:09 Bagas Sanjaya
  2021-05-17  8:51 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Bagas Sanjaya @ 2021-05-16 13:09 UTC (permalink / raw)
  To: Git Users

Hi,

I have a shallow clone of linux-stable repo [1] on my computer. Now
I'm trying to repack with `git repack -A -d`.

Before repacking, here is the object counts on my clone
(`git count-objects -v`):

> count: 0
> size: 0
> in-pack: 3162206
> packs: 17
> size-pack: 3120393
> prune-packable: 0
> garbage: 0
> size-garbage: 0

And I have 41496 commits (only on master).

And here are relevant config used:

> pack.deltacachesize=120M
> pack.windowmemory=400M
> pack.packsizelimit=650M
> pack.autopacklimit=0

When I trigger repack operation, I expected that all objects on 17 packs
are consolidated into several 650M-sized packs. However, in my case, repacking
was hang at "Enumerating objects" stage, that is I stuck at:

"Eumerating objects: 902036"

I also try to reproduce the issue with other repo, such as with local copy
of GCC repo on my computer [2] using similar config, and the repack succeed
without any errors.

Am I missing something?

[1]: https://github.com/gregkh/linux
[2]: https://github.com/gcc-mirror/gcc

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-22 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 13:09 git repack on shallow clone of large repo (linux kernel) hangs at "Enumerating objects" Bagas Sanjaya
2021-05-17  8:51 ` Jeff King
2021-05-18 11:23   ` Bagas Sanjaya
2021-05-18 12:07     ` Jeff King
2021-05-22 11:16       ` Bagas Sanjaya
2021-05-22 12:11         ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).