4 years ago d582f26ced Stefan Sperling
write large objects to disk when resolving deltas; raise in-mem delta threshold
4 years ago 4788f1cebb Stefan Sperling
extract large objects to a temporary file in got-index-pack
4 years ago 2e5a6faddc Stefan Sperling
add mmap support to got-index-pack
4 years ago 55fdd2574a Stefan Sperling
do not buffer more data than necessary in got_inflate_to_mem_fd()
4 years ago 1e87a3c39e Stefan Sperling
avoid re-reading the entirety of an object's data to calculate the CRC
4 years ago 668a20f6fe Stefan Sperling
rewritten got-index-pack; sorry about the monster commit
4 years ago 3ab5e33ce1 Stefan Sperling
add optional 'consumed' output parameter to got_inflate_to_mem_fd()
4 years ago afbfc7fb18 Stefan Sperling
remove unneeded memory allocations from ref delta parser which were leaking
4 years ago ca6e02acaa Stefan Sperling
add support for first-parent history traversal to got-read-pack
4 years ago 5aa813935b Stefan Sperling
add copyright year for files already touched in 2020
4 years ago e40b19ed24 Stefan Sperling
fix reading ref deltas with GOT_PACK_NO_MMAP builds
4 years ago 5f25cc8582 Stefan Sperling
remove obj->path_packfile which is unused nowadays; saves a few free() calls
4 years ago ab2f42e760 Stefan Sperling
cache delta data buffers in an LRU cache
4 years ago 42c69117cc Stefan Sperling
stop storing decompressed delta data in struct got_delta; fetch it on demand
4 years ago 6dd1ece69a Stefan Sperling
when an object id string is bad, include the bad string in the error message
4 years ago 5e6be23258 Stefan Sperling
fix reading pack files larger than 2GB; ok tb@; problem found by mpi@
4 years ago c6368c2e90 Stefan Sperling
properly handle read errors in got_packidx_init_hdr (found by jj@ scan-build)
4 years ago b1317e77b8 Stefan Sperling
plug error leak in got_packidx_init_hdr(); found by jj@ with scan-build
4 years ago 6772cf2220 Hiltjo Posthuma
got_packidx_open: free packidx object when open(2) fails
4 years ago de30857e10 Stefan Sperling
fix reading pack index files with large offsets (patch by Hiltjo Posthuma)
5 years ago a0de39f397 Stefan Sperling
fix build on OpenBSD/sparc64 (gcc)
5 years ago 0adc7bcc3f Stefan Sperling
call got_object_id_queue_free() instead of implementing it inline
5 years ago dd88155e48 Stefan Sperling
disambiguate abbreviated object IDs based on object type
5 years ago 4277420a1f Stefan Sperling
speed up matching of abbreviated commit IDs in pack files
5 years ago e09a504cc5 Stefan Sperling
introduce support for abbreviated object IDs