Commits
- Commit:
67fd68496517d3103b130a1085efdd4591bd7416
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
db6960214d9d6517c59f10744fd5a8e62b2ba46a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid the creation of new temporary files whenever a packed object is read
This speeds up the creation of pack files by about 30%.
- Commit:
c0df59665de91324eeab1808c6c4e41343f21789
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
wrap overlong lines
- Commit:
030daac821622c8495676bc5210fb7784c7ae78f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix some integers that had a slightly wrong type; patch by Omar Polo
- Commit:
50127d69d134221cbcaa9ca3e173dceac051952c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'static' qualifier to local functions in got-read-pack; patch by Omar Polo
- 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