Commits
- Commit:
3bf54024e7046b0ac7b206cba0f0d5482a8fa8e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
efaf26f62c3ebe48d29eeb5b77e288ce562676a5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.79
- Commit:
167b46e0fa6c3e54e4c86c1b7af4bdf87b4c5c2a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
c08cee54c5533738779c3b2ca6396d9e7b056dc6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress style tweaks from op@
- Commit:
4ce98cf7adb9e536bf4a2330e402899b0aac2e8f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a regression test for sending to an empty repository via gotd
ok op@
- Commit:
2ff9f0818d453fcbfcf4843b368604f277cf4458
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix capabilities announced by gotsh when no reference exist in repository
ok op@
- Commit:
1b3e8e8674ebd24834b549a70d90487307d0f3bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use sub-second precision when checking for objects/pack/ modification
Convert from st.m_time (second-precision time_t) to st.m_tim (struct timespec).
To compensate for the potential case where a filesystem provides resolution
in seconds only, always read the directory if no pack files are known to exist.
Otherwise, there is a race condition when gotd repo_write creates a new pack
and a request arrives for repo_read shortly after. Caught by a regression test
for gotd on empty repositories. Test failure pointed out by Mikhail.
ok op@
- Commit:
c9f1ac46710e3ac672c769862ae51b838c3c8e46
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got clone -b' work for repositories which lack a HEAD reference
ok op@
- Commit:
b43d5a6cd3a253c93c9cc25574997ac4aac7a4f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
upate number elements stored in the delta cache when removing an element
- Commit:
e62fc5205c7c439d072229d8be922ea30e8d8024
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing free() of delta buffers in several error paths
- Commit:
99f7567eaa6fad9b271f55d1469fcd383bb13205
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce delta cache size to avoid running out of memory on large pack files
As reported by Jerome Kasper, got-index-pack would run out of memory while
cloning projects like LLVM or the Linux kernel. The delta cache was pushed
to its maximum size limit of ~2GB, which is much higher than the default
user data limit on OpenBSD. Set the delta cache size limits to values which
should result in the cache limiting itself to 128MB or less.
- Commit:
22f6beb0dae033aa1e023e1d849d5cede058e002
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add dedicated compilation flag for the delta cache, separate from object cache
- Commit:
0fc5e2291f12e5d2a36b4c850747157fcc365682
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zero-initialize all of struct got_deflate_buf in got_deflate_init()
Fixes a potential bogus free on error.
got_deflate_end() relies on zb.flags to be initialized. It will try to free
a bogus zb.outbuf pointer if zb.flags happens to set by uninitialized stack
memory while we are calling got_deflate_end() in an error path.
- Commit:
08603e79bbb2bb6324cad8aa08311f2f47f8822d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zero-initialize all of struct got_inflate_buf in got_inflate_init()
Fixes a potential bogus free on error.
got_inflate_end() relies on zb.flags to be initialized. It will try to free
a bogus zb.outbuf pointer if zb.flags happens to set by uninitialized stack
memory while we are calling got_inflate_end() in an error path.
- Commit:
ca7cfae029f0cbca1f65f326025744f627b69d92
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd work as intended on an empty repository; regression test is upcoming
- Commit:
c6b5adb85da13d21aa8937805dce16fedb07272b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix sending of capabilities from gotsh(1) in case repository has no refs
- Commit:
110104b65c5b511d6e99058e536c132ab962d863
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crash in got-send-pack when server does not announce any capabilities
- Commit:
758dc042e8fc2399dc58d96ce6d80b4a0adf4705
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
36c7cfbb2a9b646bfb1658fca4e34bc63a46ec42
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crash in gotd if client gets disconnected on error; reported by Mikhail
- Commit:
9f76ccc895126c4a0a81b1183342e0888850cdcc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync files from diff.git 29c010c8648ec861ee463bc8fa8c66a64dd01154
This brings in a build fix for OpenBSD/sparc64.
- Commit:
3462996772bca8558a4b9cf84f8e4113600ae27b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
changelog markup fix
- Commit:
587ef511663c745b04d4e196de887eccf6aef124
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
9925a128def444f625b69428713dbbf413e6468c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.78
- Commit:
ffe7e7c163f1ed8bff4c1a2309eb7e21c132d665
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix free() of wrong address in gotweb's parse.y
Found by sthen via ports-gcc:
gotweb/parse.y:504:3: warning: attempt to free a non-heap object 'file'
- Commit:
7a52a8bcab46bbdee77445b05e844f903ff1fbcd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove casts which make older gcc versions unhappy
../lib/diffreg.c:44: error: initializer element is not constant
../lib/diffreg.c:51: error: initializer element is not constant
../lib/diffreg.c:59: error: initializer element is not constant
../lib/diffreg.c:66: error: initializer element is not constant
reported by Red on Libera IRC, and by sthen@ who pointed out such
failures appearing in landry's sparc64 bulk build logs.