[libvirt] Repack git repo?

Daniel P. Berrange berrange at redhat.com
Thu Aug 3 07:57:47 UTC 2017

On Thu, Aug 03, 2017 at 09:16:13AM +0200, Michal Privoznik wrote:
> So I was checking out the repo the other day and it took ages. So it got
> me thinking what might be the problem. Looks like a part of it is that
> our pack is split among ~250 files. Therefore when somebody does
> checkout git needs to repack it into a single pack every time. And this
> may take ages on such slow processor as Atom is. However, reading some
> docs on this it looks like 'git gc --aggressive' is not advised rather
> than 'git repack'.

I created a 'tmp' repo and ran 'repack' on it, but afaict, there's no
appreciable difference.

|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

More information about the libvir-list mailing list