Commits


make got_worktree_checkout_files() infer base commit from meta data


store base commit in a dedicated meta file


undo previous


store commit hash along with the HEAD ref in .got/head


fix broken fwrite() check in add_file_on_disk()


catch fatal i/o errors in add_file_on_disk()


rename fileindex functions from open/close to alloc/free


rename local variable in got_worktree_checkout_files()


remove struct got_object from public library API


abort checkout operations cleanly when Ctrl-C is hit


plug a tree object leak in worktree.c


rename zbuf to inflate


make struct got_tree_object opaque


move got_opentmp* functions to public API; used from tog


rename 'refs' to 'reference'


make paths shown during checkout match what is created on disk


remove GOT_ERR_NO_MEM, we can just use errno in those cases


rename the library-internal headers again to a common prefix


add support for checking out a subtree


show progress during checkout


fix worktree test build: remove more unused variables


in got_worktree_checkout_files, init file index path before using


remove base-commit meta file; this will move into the fileindex


write file index after checking out files


initial implementation of worktree checkout