
Daniel Veillard wrote:
On Wed, Jan 12, 2011 at 12:01:12PM +0100, Jim Meyering wrote:
Daniel Veillard wrote: ...
xmlsoft:~ -> cat bin/GitMaintainance #!/bin/sh # Garbage collect the libvirt GIT repository git --git-dir /git/libvirt.git gc > $HOME/tmp/GitMaintainance.log 2>&1 xmlsoft:~ -> crontab -l | grep GitMaintainance 4 4 * * Sun /u/veillard/bin/GitMaintainance xmlsoft:~ ->
Seems to have run normally on Sun 9 Jan from what I can tell :-)
So basically I should just add --aggressive to the garbage collection command for extra cleanup, right ?
Exactly ;-)
Okay, done, BTW here is the result for a manual run I did:
xmlsoft:~ -> git --git-dir /git/libvirt.git gc --aggressive Counting objects: 50594, done. Delta compression using up to 2 threads. Compressing objects: 100% (50455/50455), done. Writing objects: 100% (50594/50594), done. Total 50594 (delta 42525), reused 0 (delta 0) xmlsoft:~ ->
That tells you the number of "objects", which doesn't change. du -sh /git/libvirt.git before showed 54M. Now, it prints 45M.