Commit Briefs

Thomas Adam

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.




Thomas Adam

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself






Thomas Adam

only open raw objects if necessary while writing out pack file data

significantly speeds up the "writing pack: " step of gotadmin pack


Thomas Adam

portable: FreeBSD: remove sha1.h

sha1.h will be included portably.


Thomas Adam

use time-based rate-limiting for gotadmin progress output

Suggested by naddy some time ago. ok tracey



Thomas Adam

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.


Thomas Adam

portable: tree/queue header fixes

sys/{tree,queue}.h are looked up via configure, and therefore are included via that mechanism.


Thomas Adam

Revert "cache raw objects in order to speed up gotadmin pack"

This reverts commit c565dfd37a157bab9556aceac96ff27d64525fc9.




Thomas Adam

portable: update to handle bloom, etc

Update portable to support changes for bloom, etc.




Thomas Adam

limit delta chain length in newly created pack files to 32 deltas

Our former limit was 128 which is fairly high. Git uses 50 by default. A smaller limit results in slightly larger pack files but makes both packing and unpacking faster.