Package: etckeeper
Version: 0.15
Severity: wishlist

After running etckeeper for a few months, I noticed that /etc/.git
constituted four fifths of my /etc tree.  Running git-gc significantly
improved this ratio.  I wish etckeeper did this automatically via a
cron.monthly or cron.weekly script.

[EMAIL PROTECTED] sudo du -sh . .git
45M     .
40M     .git
[EMAIL PROTECTED] sudo git gc
Counting objects: 5722, done.
Compressing objects: 100% (4928/4928), done.
Writing objects: 100% (5722/5722), done.
Total 5722 (delta 2681), reused 0 (delta 0)
[EMAIL PROTECTED] sudo du -sh . .git
13M     .
7.4M    .git

Pieter de Bie on Freenode's #git also suggested this.
I have no idea if it's a good idea to automate.

[EMAIL PROTECTED] sudo git repack -adf --window=200
Counting objects: 5722, done.
Compressing objects: 100% (4928/4928), done.
Writing objects: 100% (5722/5722), done.
Total 5722 (delta 2795), reused 0 (delta 0)
[EMAIL PROTECTED] sudo du -sh . .git
13M     .
6.9M    .git

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages etckeeper depends on:
ii  debconf [debconf-2.0]        1.5.22      Debian configuration management sy
ii  git-core                     1:1.5.5.1-1 fast, scalable, distributed revisi
ii  mercurial                    1.0-4       Scalable distributed version contr

etckeeper recommends no packages.

-- debconf information:
* etckeeper/unclean: true
  etckeeper/commit_failed:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to