Commits


increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)


no need to zero memory in got_inflate_to_mem()


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


fix double-frees in error path when resolving deltas fails


move a comment to a better place and expand it


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.


catch fopen(3) failure in collect_commit_logmsg()


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.


expand test coverage: partial update with parent dir as argument


fix handling of non-directories in change from previous commit


tog: if opened from log view, open tree view at path being logged


plug /dev/null file descriptor leaks in diffreg.c


make struct got_commitable opaque to library users


fix bug reproduced by xfail test 'test_commit_added_subdirs'


add another TODO item


add a tog TODO item


error.c: use <limits.h> instead of <sys/param.h>


introduce got_error_path()


apply_unveil(): use GOT_DIR_NOT_EMPTY


define message for error code GOT_ERR_DIR_NOT_EMPTY


fix wording in error message


fix build with -DGOT_OBJ_CACHE_DEBUG


spawn more pack file helpers again now that leaks got fixed /usr/src updates have become slower for some reason and my best guess is that caching of packed data has become less effective with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347 and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)


make 'tog log' default to the current branch in a work tree


make 'got log' default to the current branch in a work tree