Commit Briefs
fix pack progress object counter for loose objects
Move pack progres object accounting to a single place. This makes it easier to account for the case were only loose objects are packed. A wrong amount of objects was reported before when packing loose ones.
cache a list of known pack index files when the repository is opened
Avoids overhead due to readdir calls while searching a pack index. ok op@
portable: pack-create: remove endian.h
endian.h is portably included on non-OpenBSD systems, so let that mechanism determine if it should be included or not.
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
only open raw objects if necessary while writing out pack file data
significantly speeds up the "writing pack: " step of gotadmin pack
portable: FreeBSD: remove sha1.h
sha1.h will be included portably.
use time-based rate-limiting for gotadmin progress output
Suggested by naddy some time ago. ok tracey
try only 3 delta base candidates instead of 10 to speed up packing
Tests by kn, thomas_adam and myself made on various repositories indicate that 3 is a good choice. Tyring 10 deltas is much slower and does not result in significantly smaller pack files.
portable: tree/queue header fixes
sys/{tree,queue}.h are looked up via configure, and therefore are included via that mechanism.
Revert "cache raw objects in order to speed up gotadmin pack"
This reverts commit c565dfd37a157bab9556aceac96ff27d64525fc9.
portable: update to handle bloom, etc
Update portable to support changes for bloom, etc.