libexec


Log

Author Commit Date CI Message
Stefan Sperling 4788f1ce 2020-03-18T16:13:46 extract large objects to a temporary file in got-index-pack
Stefan Sperling 18d4da03 2020-03-18T16:13:46 tweak delta cache size in got-index-pack
Stefan Sperling 93bba072 2020-03-18T16:13:46 use qsort(3) instead of mergesort(3) to avoid a large spike in memory usage
Stefan Sperling 97684601 2020-03-18T16:13:46 write CRC info in one chunk rather than calling write(2) once per object
Stefan Sperling 021b0c6f 2020-03-18T16:13:46 don't forget to send a final progress notification from got-index-pack
Stefan Sperling 5672d305 2020-03-18T16:13:46 waste less time on sending progress messages over the privsep pipe
Stefan Sperling 160bbe2e 2020-03-18T16:13:46 jump right to the index of the first delta
Stefan Sperling e6c1173d 2020-03-18T16:13:46 document why deltas will usually be resolved within a single loop iteration
Stefan Sperling ec92f929 2020-03-18T16:13:45 another indentation fix
Stefan Sperling 4c06f612 2020-03-18T16:13:45 remove now pointless error check
Stefan Sperling b3e1118b 2020-03-18T16:13:45 fix indentation
Stefan Sperling f826addf 2020-03-18T16:13:45 use a dedicated imsg for sending the pack fetch output file descriptor
Stefan Sperling 73ab1060 2020-03-18T16:13:45 use a dedicated imsg for sending the pack index output file descriptor
Stefan Sperling 37ebab0a 2020-03-18T16:13:44 free objects when indexing is done
Stefan Sperling 262c582a 2020-03-18T16:13:44 allocate one large indexed object array upfront, not an array of pointers
Stefan Sperling 72054488 2020-03-18T16:13:44 ooops, re-enable offset deltas in got-fetch-pack
Stefan Sperling 964d3c5b 2020-03-18T16:13:44 increase delta cache size for got-index-pack
Stefan Sperling b102634c 2020-03-18T16:13:44 avoid magic numbers when writing pack index header in got-index-pack
Stefan Sperling 2e5a6fad 2020-03-18T16:13:44 add mmap support to got-index-pack
Stefan Sperling f63dc90d 2020-03-18T16:13:44 remove unnecessary & in read_packed_object()
Stefan Sperling 861f3006 2020-03-18T16:13:44 pledge got-index-pack
Stefan Sperling 4d0fef1d 2020-03-18T16:13:44 plug a memory leak in resolve_deltified_object()
Stefan Sperling 7cd14ea0 2020-03-18T16:13:43 plug memory leak in error path of read_packed_object()
Stefan Sperling 836f2c92 2020-03-18T16:13:43 use a union for delta-specific data in struct got_indexed_object
Stefan Sperling cbc66309 2020-03-18T16:13:43 wrap overlong lines
Stefan Sperling 0fd91daf 2020-03-18T16:13:43 populate an in-progress pack index only if ref deltas are present
Stefan Sperling 950de2cd 2020-03-18T16:13:43 avoid unnecessary memmove calls during the first indexing pass
Stefan Sperling 55fdd257 2020-03-18T16:13:43 do not buffer more data than necessary in got_inflate_to_mem_fd()
Stefan Sperling 1e87a3c3 2020-03-18T16:13:42 avoid re-reading the entirety of an object's data to calculate the CRC
Stefan Sperling 7bad1537 2020-03-18T16:13:42 make use of the large object counter inside the packidx structure
Stefan Sperling b4152680 2020-03-18T16:13:42 remove duplicated code under #if 0
Stefan Sperling 64ab7238 2020-03-18T16:13:42 remove pointless lseek() call in index_pack()
Stefan Sperling 8bb2b40c 2020-03-18T16:13:42 fix CRC values in generated pack index
Stefan Sperling c5621f1c 2020-03-18T16:13:42 enable object CRC calculation in got-index-pack
Stefan Sperling f4d0a1a4 2020-03-18T16:13:42 remove header check from got-fetch-pack; not needed
Stefan Sperling 668a20f6 2020-03-18T16:13:41 rewritten got-index-pack; sorry about the monster commit
Stefan Sperling baa9fea0 2020-03-18T16:11:33 send indexing progress via an imsg
Stefan Sperling 849f7557 2020-03-18T16:11:32 check pack file hash in the main process
Stefan Sperling d2cdc636 2020-03-18T16:11:32 send pack file download progress information over imsg
Stefan Sperling a6ee240a 2020-03-18T16:11:32 improve error message on short packfile
Stefan Sperling ea7396b9 2020-03-18T16:11:32 rename imsg FETCH_PROGRESS to FETCH_REF
Stefan Sperling 9fa51812 2020-03-18T16:11:32 check pack file header in fetch_pack()
Stefan Sperling 531c3985 2020-03-18T16:11:32 add support for git protocol sidebands and display server progress
Stefan Sperling d3dccf3a 2020-03-18T16:11:31 remove unused hash string arrays
Stefan Sperling 04c53c18 2020-03-18T16:11:31 make got-fetch-pack check for NAK from server before the packfile arrives
Stefan Sperling 3b9fb585 2020-03-18T16:11:31 hide an fprintf inside if (chattygit)
Stefan Sperling 54d1a70f 2020-03-18T16:11:31 verify that length string read from packet contains hex digits only
Stefan Sperling 4dc8ee09 2020-03-18T16:11:31 improve strtol checking in got-fetch-pack
Stefan Sperling 38c670f1 2020-03-18T16:11:31 convert flushpkt to struct got_error
Stefan Sperling 344e4747 2020-03-18T16:11:31 convert writepkt to struct got_error
Stefan Sperling 52915720 2020-03-18T16:11:31 remove a pointless 'goto done'
Stefan Sperling fe53745c 2020-03-18T16:11:30 convert readn and readpkt to struct got_error
Stefan Sperling 2fed35f3 2020-03-18T16:11:30 knf
Stefan Sperling 0872c0b0 2020-03-18T16:11:30 more reasonable minimum length check in check_pack_hash()
Stefan Sperling eac2c4cd 2020-03-18T16:11:30 make check_pack_hash() return a struct got_error
Stefan Sperling 01538ce4 2020-03-18T16:11:30 add_symref modifies 'capa' so it cannot be const
Stefan Sperling ffb5f621 2020-03-18T16:11:30 pledge got-fetch-pack ("stdio recvfd")
Stefan Sperling 00cd0e0a 2020-03-18T16:11:30 use more readable names for items parsed from refline, and plug related leaks
Stefan Sperling e2f84af4 2020-03-18T16:11:30 remove got_has_object() for now; this would require imsg to main process
Stefan Sperling 4ba321e7 2020-03-18T16:11:30 mark some functions static in got-fetch-pack
Stefan Sperling 1ff21071 2020-03-18T16:11:30 remove got_ prefix from static functions in got-fetch-pack
Stefan Sperling f78e0473 2020-03-18T16:11:30 add missing \n in debug output
Stefan Sperling 33501562 2020-03-18T16:11:30 prepare for providing refs we already have in fetch request imsg currently we always send and expect an empty list
Stefan Sperling 14778466 2020-03-18T16:11:29 realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)
Stefan Sperling 0f06079f 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling a468349c 2020-03-18T16:11:29 re-enable fetching of offset deltas in got-fetch-pack
Stefan Sperling acd24462 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling 06c788f9 2020-03-18T16:11:29 remove got_make_pack_dir() which is unused
Stefan Sperling cf875574 2020-03-18T16:11:29 knf
Stefan Sperling 4b20c923 2020-03-18T16:11:29 remove strip() stub function that does nothing
Stefan Sperling 6fb3a497 2020-03-18T16:11:29 add optional 'consumed' output parameter to got_inflate_to_mem()
Stefan Sperling 27937592 2020-03-18T16:11:28 add more missing \n in fprintfs from got-index-pack
Stefan Sperling fd86ad6e 2020-03-18T16:11:28 pass SEEK_SET instead of zero for fseek() whence parameter
Stefan Sperling 57138e05 2020-03-18T16:11:28 add missing \n in error print
Stefan Sperling a98e36f8 2020-03-18T16:11:28 fix inverted error check in readodelta()
Stefan Sperling 4a89c790 2020-03-18T16:11:28 remove unneeded include
Stefan Sperling abe0f35f 2020-03-18T16:10:33 parse symrefs from server capabilities and transmit them over imsg
Stefan Sperling 13ce8c93 2020-03-18T16:10:33 add missing space between first wanted hash and our capability string
Stefan Sperling a6f88e33 2020-03-18T16:10:33 make got-fetch-pack sanity check error messages sent by server
Stefan Sperling 8a29a085 2020-03-18T16:10:33 make got-fetch-pack match its capabilities with those of the server
Stefan Sperling 0d0a341c 2020-03-18T16:10:33 parse server capabilities in got-fetch-pack
Stefan Sperling 9b45e112 2020-03-18T16:10:32 remove redundant colon from error message
Stefan Sperling 8f2d01a6 2020-03-18T16:10:32 send fetch progress over imsg
Stefan Sperling 018e0a9a 2020-03-18T16:10:32 rename got_fetch_pack to just fetch_pack; this function is static
Stefan Sperling 9ff10419 2020-03-18T16:10:32 convert got_fetch_pack to got_error + KNF
Stefan Sperling ccbf9d19 2020-03-18T16:10:32 remove some unused path variables from got-fetch-pack
Stefan Sperling 279090e1 2020-03-18T16:10:31 pass an object_id * to got_privsep_send_index_pack_req()
Stefan Sperling a251e40e 2020-03-18T16:10:31 GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
Stefan Sperling 61a7d79f 2020-02-29T08:05:11 remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
Stefan Sperling 63f810e6 2020-02-29T07:54:55 when "bad path" errors occur, always show the path in question
Stefan Sperling 9a1cc63f 2020-02-03T09:18:40 read repository owner name with gitconfig parser instead of a hand-rolled one
Stefan Sperling 55e54fd3 2020-01-28T14:03:16 remove a Makefile chunk which is obsolete since bb5b19e3
Tracey Emery 54415d85 2020-01-15T22:10:31 kn@ and stsp@ suggested changes
Tracey Emery 2c251c14 2020-01-15T22:10:30 Initial gotweb branch import
Stefan Sperling ca6e02ac 2020-01-07T11:14:52 add support for first-parent history traversal to got-read-pack
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling fe558a04 2020-01-06T15:58:23 plug a memory leak: got-read-commit forgot to close commits
Stefan Sperling 3f7f9bd9 2020-01-06T15:50:36 fix memleak in error case of got-read-commit
Stefan Sperling b87b4170 2020-01-06T14:10:36 rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)