4 years ago 861f300646 Stefan Sperling
pledge got-index-pack
4 years ago 4d0fef1df5 Stefan Sperling
plug a memory leak in resolve_deltified_object()
4 years ago 37ebab0a22 Stefan Sperling
free objects when indexing is done
4 years ago 262c582a09 Stefan Sperling
allocate one large indexed object array upfront, not an array of pointers
4 years ago 7cd14ea0da Stefan Sperling
plug memory leak in error path of read_packed_object()
4 years ago 836f2c92d5 Stefan Sperling
use a union for delta-specific data in struct got_indexed_object
4 years ago b2409d5842 Stefan Sperling
more fine-tuning of fetch progress display
4 years ago cbc6630909 Stefan Sperling
wrap overlong lines
4 years ago 0fd91dafe0 Stefan Sperling
populate an in-progress pack index only if ref deltas are present
4 years ago 950de2cd7c Stefan Sperling
avoid unnecessary memmove calls during the first indexing pass
4 years ago 55fdd2574a Stefan Sperling
do not buffer more data than necessary in got_inflate_to_mem_fd()
4 years ago 55f98ccb99 Stefan Sperling
tweak indexing progress output again: display raw object counters
4 years ago 5eddcd6036 Stefan Sperling
fix endless loop from 9c2cfea6 if decompressed data exceeds buffer size
4 years ago 1e87a3c39e Stefan Sperling
avoid re-reading the entirety of an object's data to calculate the CRC
4 years ago 7bad153797 Stefan Sperling
make use of the large object counter inside the packidx structure
4 years ago b4152680fa Stefan Sperling
remove duplicated code under #if 0
4 years ago 64ab72383b Stefan Sperling
remove pointless lseek() call in index_pack()
4 years ago 8bb2b40c0f Stefan Sperling
fix CRC values in generated pack index
4 years ago c5621f1ccb Stefan Sperling
enable object CRC calculation in got-index-pack
4 years ago f4d0a1a470 Stefan Sperling
remove header check from got-fetch-pack; not needed
4 years ago 294dfefdc6 Stefan Sperling
create repository before connnecting and print a message when connected
4 years ago 61cc1a7a7f Stefan Sperling
tweak progress display
4 years ago 668a20f6fe Stefan Sperling
rewritten got-index-pack; sorry about the monster commit
4 years ago 2decf4c6ad Stefan Sperling
make output buffer optional for got_inflate_to_mem{,_fd}()
4 years ago 3ab5e33ce1 Stefan Sperling
add optional 'consumed' output parameter to got_inflate_to_mem_fd()