Commit Briefs

57377f0776 Stefan Sperling

stat .idx file to determine its size, not the .pack file


f363d66366 Stefan Sperling

add a test for 'got commit' with a conflicted file


0d0c539eac joshua stein

got_opentemp_named: include path in error message


a3da3b618b Stefan Sperling

document an idea which might speed up processing of deltas


43205691a0 Stefan Sperling

improve documentation of got log -b


499d7ecc53 Stefan Sperling

rename got log's -f option to -b


540feb5160 Stefan Sperling

add examples for 'got log' in got.1


e70c17ce99 Stefan Sperling

extend got.1 EXAMPLES section


cc43886eb4 Stefan Sperling

improve wording of an error message


d969fa15b6 Stefan Sperling

inform the user when switching branches


01cd76145e Stefan Sperling

add cache debug output for too large elements


a60c9e772e Stefan Sperling

don't cache objects larger than 1MB


6331840f53 Stefan Sperling

fix got_error_from_errno() arguments in inflate.c


da506691d2 Stefan Sperling

set_max_datasize() should be a static function


b3a605cef0 Stefan Sperling

no need to zero memory in got_inflate_to_mem_mmap()


f2c5fe0e01 Stefan Sperling

no need to zero memory in got_inflate_to_mem_fd()


d1078c40c0 Stefan Sperling

add a TODO item



6dc3b75a27 Stefan Sperling

no need to zero memory in got_inflate_to_mem()


b48e2ddb7c Stefan Sperling

set datasize limit of got-read-pack helpers to maximum


1a35c1bc90 Stefan Sperling

fix double-frees in error path when resolving deltas fails


78527a0aa0 Stefan Sperling

move a comment to a better place and expand it


cc79381d1a Stefan Sperling

NUL-terminate empty logmsg buffer for strlcat(3)

Because the logmsg output buffer was not NUL-terminated after allocation, strlcat(3) could append log message contents copied from the temporary file at a wrong memory location. In the case observed by me, this bug resulted in a broken commit object.


d4592c7c7a Stefan Sperling

catch fopen(3) failure in collect_commit_logmsg()


c932eeeb83 Stefan Sperling

make 'got update' bump the base commit ID of unchanged files

This change makes it actually possible to get around commit-time out-of-dateness by running 'got update'. The test added with this commit shows that our out-of-dateness check is currently too simplistic; an update is required between any two commit operations! It would be better to allow commits to proceed until a situation arises where file content must be merged.