On Friday 09 October 2009 04:40:46 Jim Meyering wrote:
> I noticed that gnulib.git was consuming nearly 700MB, so did this:
> 
>     $ du -sh .; git gc; du -sh .
>     692M    .
>     Counting objects: 78817, done.
>     Delta compression using up to 4 threads.
>     Compressing objects: 100% (19078/19078), done.
>     Writing objects: 100% (78817/78817), done.
>     Total 78817 (delta 63009), reused 74442 (delta 59695)
>     Removing duplicate objects: 100% (256/256), done.
>     35M     .
> 
> That should help.
> 
> I'm a little surprised my doing something like this manually
> makes a difference.  I thought it was supposed to happen automatically,
> but haven't looked at that part of git in a long time.
> Maybe a config setting?
> 
> The server is currently running git-1.6.3.3

afaik, automatic garbage collection is only run on the client repo.  server 
admin is responsible for housekeeping the remote copy (since there are some 
subtle side effects -- new packs are created and old objs are deleted).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to