Commits


CHANGES for 0.62


plug memory leak in an error path of read_packed_object()


fix wrong function names in error messages from got-index-pack.c


make 'gotadmin indexpack' unveil the repository read/write, not read-only


sync with OpenBSD parse.y Explicitly cast "char" to "unsigned char" when assigned to "int" to prevent sign extension from breaking comparions against EOF or passing invalid arguments to ctype functions.


move encode_delta() in pack_create.c to eliminate a forward declaration


while packing, store encoded deltas in a temporary file instead of in memory


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.


raw object blocksize and read buffer were unused; remove them


remove unused internal raw object API functions


cache raw objects in order to speed up gotadmin pack


reuse temporary files which were not used by got_object_raw_open()


add missing calls to got_repo_close() in gotadmin.c


add missing error checks in got_object_raw_open()


avoid opening delta base objects in genpack() just to find their size