Commits


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


remove got_worktree_change_head() for now


implement got_worktree_get_head_ref_name()


rename library-private headers from *_priv.h to *_lib.h


rename worktree_root to root_path in struct worktree