Re: compressing .git/ can save 15%

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:~ -> 

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]