Commit Briefs



Stefan Sperling

improve documentation of got log -b


Stefan Sperling

rename got log's -f option to -b


Stefan Sperling

add examples for 'got log' in got.1


Stefan Sperling

extend got.1 EXAMPLES section


Stefan Sperling

improve wording of an error message


Stefan Sperling

inform the user when switching branches



Stefan Sperling

don't cache objects larger than 1MB






Stefan Sperling

add a TODO item







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.



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.