Commits


portable: add back sys/queue.h Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


portable: look for sha1.h portably Remove the include from lib/delta_cache.c


delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu


portable: delta_cache: remove includes Remove those includes which are searched for portably.


delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu


fix build with -DGOT_NO_OBJ_CACHE ok stsp


check the maximum cached delta size against the correct constant


convert delta cache to a hash table This approach uses more memory but is much faster. To offset the additional memory usage somewhat the cache now stores very small deltas only. However, overall memory usage goes up. Hopefully we will find a way to reduce this later. ok op@


portable: add FreeBSD support This adds the capability to compile got-portable on FreeBSD.


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.


add copyright year for files already touched in 2020


disable delta cache in GOT_NO_OBJ_CACHE builds


add debug stats to delta cache


cache delta data buffers in an LRU cache