Commits


make sure callers of got_object_idset_add() free data.


revert 03c03172 "drop a commit right away if it matches an excluded commit" This change resulted in a full history walk even when no objects will be added to the pack file. Fix this regression by reverting the change.


for clarity, move the coloring loop from findtwixt() into a separate function


remove a pointless object-id dup/free dance in findtwixt()


don't forget to call the cancel callback while coloring commits in findtwixt()


in findtwixt(), drop a commit right away if it matches an excluded commit


the obj_types array in pack_create.c is no longer useful, remove it


make gotadmin pack -x option work with tag arguments


in load_object_ids(), process "their" commits and tags in the same loop No functional change, the end result is the same.


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.


in pack progress output, remove excluded objects from 'found' objects counter


fix a bug where 'gotadmin pack' packed too many objects unless -a was used


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


print additional progress information while packing ok op@


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@


explicitly include <endian.h> for be32toh()


fix pack.sh test failure from reuse-deltas patch by tweaking progress output


reuse existing deltas when creating pack files tested by thomas, naddy, and myself


compress delta data from delta_cache directly into pack file


set a cap on the amount of memory we use to store encoded deltas


encode short deltas in memory instead of writing them to a temporary file


map raw object files into memory while packing if possible


only open raw objects if necessary while writing out pack file data significantly speeds up the "writing pack: " step of gotadmin pack


use time-based rate-limiting for gotadmin progress output Suggested by naddy some time ago. ok tracey


use up to 128 delta chain elements again; creates smaller packs at same speed