Commits
- Commit:
1af8800025bf22cf87cde038bbcfda0d2564eefc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refresh cached list of pack index paths while searching a packed object
Previously, this list was only refreshed while trying to match an object
ID prefix. Regular pack file access needs to refresh this list, too.
In particular, future gotd(8) needs this to ensure that newly uploaded
packfiles are picked up as expected.
- Commit:
9316cc27bdc5db7db6927879f3c47b63f1c8ded2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch integers used for counting objects while indexing pack files to unsigned
- Commit:
09ee8ded96c5163fc8b06a8bdba606db19b2974a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
provide a more useful error if the size of a packed object won't fit in 64 bits
- Commit:
713d6e1144f1c1a21dd9013eab0cdf75a6b01ab8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let callers of got_pack_index() configure the rate limit of progress reporting
- Commit:
0136599f8fc0aa5d26834c46a9b9feb48d12c726
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move pack indexing code into new file lib/pack_index.c
Prepares for sharing code between got-index-pack and future gotd(8).
- Commit:
d294b1dcc034776a6df07345f9af90e594409062
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow got_object_parse_tree to reuse entries buffer allocations for speed
ok millert@
- Commit:
cae60ab8f2a261b006b3ccbded2d53dccbd6f300
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let callers of got_pack_create() configure rate-limiting of progress reporting
Needed by future gotd(8), where progress reports will be sent to a network
socket, rather than a local terminal.
- Commit:
aabb25f81b1f8f68a03af422f9ae14ea5c3ae1fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not crash if no delta cache is present while parsing deltas
- Commit:
301e83b3580ad6750144e2e36393b74e6fd6adcb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move privsep code from pack_create.c into new file pack_create_privsep.c
Needed by future gotd(8).
ok op@
- Commit:
a6072ec90f252faf1f1256591fb0d4623f4bc0c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle unlink(2) errors for mergepath, tmppath, and apath in apply_patch()
ok op@
- Commit:
5bb4ff2b1627b8abf239cb4bc54375109b3e3a01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_path_move_file(); based on code from lib/patch.c
ok op@
- Commit:
15c388a9fbe0ca9bd3fba71581e55dd5ad6d8c33
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors and don't try to unlink an already renamed file
ok op@
- Commit:
21017333f16f38ad9e8eb5d478bddf3397d4af05
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors in got_opentempfd()
ok op@
- Commit:
a06ca3f74892062294f3752ab15a9e5d7778a106
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors with the == -1 idiom, rather than != 0
ok op@
- Commit:
a32780aad7a4bc8539de9e7fd39b371f2fe8c346
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() call out of got_pack_create()
Future gotd(8) needs to run got_pack_create() in a chroot environment,
so we can no longer open new temporary files inside got_pack_create().
ok op@