5 years ago Stefan Sperling
ensure that 'got update' stays on the current branch
add a basic 'got update' command; does not merge files yet
fix 'same path prefix' check during checkout
fix got_worktree_get_repo_path()
remove useless strdup from got_worktree_get_repo_path()
verify path prefix when checking out into existing work tree
don't bother opening trees outside of path prefix
don't bother opening a blob if checkout will skip it
rename add_file_on_disk() to blob_checkout()
make checkout skip blobs already recorded in file index
introduce macros for status codes
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()