git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lukas Sandström" <lukass@etek.chalmers.se>
To: git@vger.kernel.org
Cc: junkio@cox.net, "Lukas Sandström" <lukass@etek.chalmers.se>
Subject: [PATCH 0/4] Add git-pack-intersect
Date: Wed, 09 Nov 2005 02:20:59 +0100	[thread overview]
Message-ID: <43714EFB.5070705@etek.chalmers.se> (raw)

This patch series adds git-pack-intersect. It finds redundant packs
by calculating the union of all objects present in .git/objects/pack
and then computing the smallest set of packs which contain all the
objects in this union.

It is quite fast, if I may say so myself. On my AMD3200+ it manages
to minimize a linux-2.6 repository with 9 pack files totaling 430MB
in ~0.7 seconds. The remaining packfiles total 102MB, which is a nice
reduction.

git-fsck-objects reports no errors after pruning, but the algorithm is 
not proven correct so backups might be in order before this gets more
testing.

/Lukas

             reply	other threads:[~2005-11-09  1:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09  1:20 Lukas Sandström [this message]
2005-11-09  1:22 ` [PATCH 1/4] Add git-pack-intersect Lukas Sandström
2005-11-09  1:23 ` [PATCH 2/4] Add documentation for git-pack-intersect Lukas Sandström
2005-11-09  1:24 ` [PATCH 3/4] Add git-pack-intersect to .gitignore Lukas Sandström
2005-11-09  1:25 ` [PATCH 4/4] Make git-repack use git-pack-intersect Lukas Sandström
2005-11-09 11:19 ` [PATCH 0/4] Add git-pack-intersect Petr Baudis
2005-11-09 11:58   ` Andreas Ericsson
2005-11-09 23:24     ` Lukas Sandström
2005-11-10  0:15       ` Junio C Hamano
2005-11-09 23:16   ` [PATCH] Rename git-pack-intersect to git-pack-redundant Lukas Sandström

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43714EFB.5070705@etek.chalmers.se \
    --to=lukass@etek.chalmers.se \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).