This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
FYI, git gc'd glibc.git: 140MiB -> 82MiB
- From: Jim Meyering <jim at meyering dot net>
- To: libc-alpha at sourceware dot org
- Date: Sun, 04 Mar 2012 12:45:40 +0100
- Subject: FYI, git gc'd glibc.git: 140MiB -> 82MiB
I noticed that updating an old clone was taking too long,
and checked the server:
sourceware$ cd /git/glibc.git && git count-objects
2869 objects, 39880 kilobytes
That's way too many unpacked objects.
Simply running "git gc" reduced the size of the repository
from 140MiB to 82MiB.
That also has the nice side effect of reducing the cost of
many day-to-day server-side operations.