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:
d5c81d448ae4eec21053152e1c82c66eb11ca7a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify object ID checksums while loose objects are being accessed
- 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:
a85917112992dbff7d0827f6cf65c6b5a3fb7bd2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
raw object size should not include the length of the object's header
This way, the size of a raw object is the same regardless of whether
the object was found in a loose object file or in a pack file.
- Commit:
932dbee786f1c1497e07a16ada6e3dbb755fdd08
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function name in error message; pointed out by Mikolaj Kucharski
- Commit:
a486b62b84f47c216ce7fd12eaacf6cc2acfaf74
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ignore SIGWINCH while polling in the main process
Avoids an error where tog(1) would exit with "poll: Interrupted system call"
while the terminal window was being resized.
ok millert
- 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:
99495ddb79841fe89b0746d35a49bb81e9220096
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'reference' directive to remote repositories in got.conf(5)
Make use of this in 'got clone' to persist -R option arguments given on
the command line in the cloned repository's got.conf(5) file.
- Commit:
0c8b29c50669cb8958428fbf923f02a5b69184db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'fetch-all-branches' configuration setting to got.conf(5)
Set fetch-all-branches in the got.conf(5) file created by 'got clone -a'
in order to make a future 'got fetch' act like 'got fetch -a' by default.
- Commit:
16aeacf7088dcd3cd5e654af46a3015cecf41426
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; from emaste@freebsd
- Commit:
20b7abb3fa8e5b46bacd07df9f85cfd7edc5a4c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect unknown repository format extensions (such as sha256 format)
ok millert
- Commit:
62d463cac1fd99c423acb07c0367c649724a2a9a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
b8adfa5529205d58ab21c9c8fc76b50068ebbaa2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add "branch" keyword to got.conf which specifies a list of branches to fetch
ok tracey
- Commit:
6c13dcd2d0d730f9f9fc0fb0c42eb0f409216063
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
send gitconfig imsg string values the same way as gotconfig ones are sent
- Commit:
5874ea87557e324b6e847a5dbed5a1b4b9efe92e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
follow-up to be96c417: Do not assume a \0 when receiving GOTCONFIG_STR_VAL.
- 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:
3168e5da215c7b442d231f40bfd61df067505d8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zap trailing tabs
- Commit:
257add310e4b16ae43b467b91f66b773da39f470
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got.conf(5) configuration file
ok tracey
- Commit:
81a12da58651e79380d81dea7020bf6af20bb28b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
- Commit:
d6b7d054e9c172e12fdf036e78bcc482ea257c8f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
exit the loop in got_privsep_recv_tree() upon error
found while looking over tracey's scan-build results
- Commit:
fca1f6ad74d7a0a330d6014cdecbe6099bfc152e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_privsep_recv_tree() in error case
found while looking over tracey's scan-build results
- Commit:
1d72a2a0ee2d5c4546c0471e054c0d81e407bc72
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
represent packfile hash as byte array in the privsep layer, not as object ID
- Commit:
fd2512569717d197f9d892f934f3d490bb1ce0c0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename an argument of got_privsep_send_index_pack_req() for clarity
- Commit:
e70bf110de343a3c1fc422b6682f56853686772f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move functions from privsep.c to the helpers which use them where possible