Commits
- Commit:
c3564dfafd6bf9ca36c049cf02a1432ce3e66c3f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't scan pack index offsets for large values if pack file is < 2GB
This saves an iteration over the entire h->offsets array when opening
a pack index which should not contain large offsets in the first place.
ok millert@
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
40e3cb72953003915373ea79578a46eb01238c15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix raw object size sent by got-read-pack
- Commit:
59d1e4a0a9c19debc27746357d97084b59a76db8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement raw object data access; this will be required for packing
- Commit:
08578a35f60be8657db97b705f27a55ab61850c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make close(2) failure checks consistent; check 'close() == -1' everywhere
ok millert, naddy
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
62d463cac1fd99c423acb07c0367c649724a2a9a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
23c57b285fdcf9a8a0a5913ea096232038bf0ac3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Stop including <sys/syslimits.h> directly.
POSIX says the limits defined there are available from <limits.h>,
which almost all affected source files already included anyway.
ok millert stsp
- Commit:
81a12da58651e79380d81dea7020bf6af20bb28b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
- Commit:
0092798358749bb760eb91ae3c53bcaa5d782907
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove got_packidx_get_object_idx_sha1(); it is not actually needed
- Commit:
ded8fbb852004c3af2b31b1286f4fcfb50b998ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
include the relevant object ID in NO_OBJ error messages where possible
- Commit:
e70bf110de343a3c1fc422b6682f56853686772f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move functions from privsep.c to the helpers which use them where possible
- Commit:
61a7d79fef51b4bf48411fcd4542401f10acc626
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
- Commit:
63f810e6fee43e699585195a24eebdb53a99a4f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
when "bad path" errors occur, always show the path in question
- Commit:
ca6e02acaa175cf833a3424ff1c4842445c0109f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for first-parent history traversal to got-read-pack
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
b87b4170d4b402d61585cf4d458c0b58ab49095f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
- Commit:
b64b1f953a75e1e6639a1fd16a0dc4ce19f4ae78
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak; parsed tree entries were not freed
- Commit:
3022d2728c5aaec4a574a76d30136d850fa5d154
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce the amount of memcpy() and strdup() while parsing tree entries
- Commit:
ab2f42e760e128287c5e880a39c591845231922b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache delta data buffers in an LRU cache
- Commit:
42c69117cce2e1658d5b5aabbc383ce7252cf167
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop storing decompressed delta data in struct got_delta; fetch it on demand
- Commit:
12ce7a6cb20e62e36b3430f7bbada96069749f8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
include <limits.h> instead of <sys/limits.h>; patch by Thomas Klausner
- Commit:
79c99a64af2fcd11a3c60a54f989167ef4a72310
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't leak objects which can't be cached
- Commit:
6869fb7f545fc78d8a162ffca98601d0c69e21bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused include in got-read-pack
- Commit:
cb5e38fd43cb415cf405819e2cd437067cbf4397
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix some leaks in got-read-pack