Commit Briefs

5e91dae4dd Stefan Sperling

remove trailing whitespace; patch by Josiah Frentsos


d7b5a0e827 Stefan Sperling

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


cbc287dcbb Stefan Sperling

reimplement object-ID set data structure on top of a hash table

Siphash suggested by jrick as a better alternative to murmurhash for this use case. with small fixes from and ok op@


a7472cb328 Stefan Sperling

check return value of RB_INSERT; ok + memleak fix by op@



67fd684965 Stefan Sperling

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself





638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


230a42bdc6 joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


5d56da8198 Stefan Sperling

happy new copyright year


11624658e6 Stefan Sperling

remove unused definition of nitems()


9489f1f77a Stefan Sperling

avoid use-after-free via got_object_idset_for_each()


cb103d042c Stefan Sperling

allow got_object_idset_for_each() to return an error


e6ace2b90e Stefan Sperling

remove unnecessary #include


e336e3d63c Stefan Sperling

use userspace red-black tree macros, not kernel ones


f054b67ad0 Stefan Sperling

remove object_idcache; use object_idset instead


984e8a45c4 Stefan Sperling

implement object idset with a red-black tree


294f39b084 Stefan Sperling

no need to zero new idset elements during allocation



13e51608f0 Stefan Sperling

fix bug where duplicates were being added to object idset


f831532b96 Stefan Sperling

remove unused got_object_idset_remove_random()


6358180434 Stefan Sperling

rename zbuf to inflate


60f2eee18f Stefan Sperling

undo previous; too much mixup in one data structure