Commit Briefs

Stefan Sperling

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.




Christian Weisgerber

explicitly include <unistd.h> for close(2)


Stefan Sperling

print additional progress information while packing

ok op@


Stefan Sperling

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@


Christian Weisgerber

explicitly include <endian.h> for be32toh()



Stefan Sperling

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself






Stefan Sperling

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

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


Stefan Sperling

use time-based rate-limiting for gotadmin progress output

Suggested by naddy some time ago. ok tracey