git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add git-pack-intersect
@ 2005-11-09  1:20 Lukas Sandström
  2005-11-09  1:22 ` [PATCH 1/4] " Lukas Sandström
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Lukas Sandström @ 2005-11-09  1:20 UTC (permalink / raw)
  To: git; +Cc: junkio, Lukas Sandström

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-11-10  0:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09  1:20 [PATCH 0/4] Add git-pack-intersect Lukas Sandström
2005-11-09  1:22 ` [PATCH 1/4] " 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

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).