5 years ago Stefan Sperling
signal existing files in checkout progress output
allow checkout on top of an existing tree
remove redundant existence check
preparation for idempotent checkout: read exisiting file index
try to sync file index to disk if checkout hits an error
store parsed head reference in struct got_worktree
store base commit of each blob in file index
store a parsed base commit ID in struct got_worktree
fix naming of some work tree meta data files and macros
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
6 years ago Stefan Sperling
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