Commit Briefs

92dfd869aa Thomas Adam

CHANGES for 0.79


24d640c0fc Thomas Adam

sync dist file list


86ebaa2ce0 Thomas Adam

gotd regress style tweaks from op@


a07c01e040 Thomas Adam

add a regression test for sending to an empty repository via gotd

ok op@


2a0fb198ea Thomas Adam

fix capabilities announced by gotsh when no reference exist in repository

ok op@


9b25109249 Thomas Adam

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@


c22ed3f5d5 Thomas Adam

make 'got clone -b' work for repositories which lack a HEAD reference

ok op@




345f650943 Thomas Adam

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.



0699dbc20f Thomas Adam

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.


fedfac2c38 Thomas Adam

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.





946e0798ea Thomas Adam

remove trailing whitespace; patch by Josiah Frentsos


4859aafde8 Thomas Adam

portable: reorder system_extensions

Cosmetic change only. No functional changes expected. Via Anna (cybertailor) Vyalkova


47e5cb11ac Thomas Adam

portable: add AM_PROG_AR

Needed for stringent checks on Gentoo. Bug 879825. Via Anna (cybertailor) Vyalkova.



6dbbfded93 Thomas Adam

portable: set next version


46d73a3301 Thomas Adam

portable: release 0.78 (tags/0.78)


76ab3c0ac4 Thomas Adam

sync files from diff.git 29c010c8648ec861ee463bc8fa8c66a64dd01154

This brings in a build fix for OpenBSD/sparc64.


ab10379394 Thomas Adam

changelog markup fix


02fa198011 Thomas Adam

bump version number