Commits


rename some variables


ensure that file index is synced to disk in case of errors


allow multiple file path arguments for 'got revert'


don't leak 'relpath' memory in got_worktree_schedule_add()


allow removing multiple paths at once for 'got rm'


allow 'got cherrypick' with a root commit (adds all files in commit)


remove unused fields from struct merge_file_cb_arg


test and fix expected file status after 'got cherrypick'


introduce sync_fileindex() helper in worktree.c


add 'got cherrypick' command


fix lack of NUL termination of a path; bug exposed by new realpath(3)


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.


make struct got_commitable opaque to library users


fix bug reproduced by xfail test 'test_commit_added_subdirs'


add branch support to 'got update'