5 years ago aeb0374820 Stefan Sperling
don't run regress tests by default
5 years ago 0e67301325 Stefan Sperling
add a command line test suite with a simple 'got checkout' test
5 years ago 2944241d9c Stefan Sperling
add a TODO comment
5 years ago be7061eb88 Stefan Sperling
ensure that 'got update' stays on the current branch
5 years ago 35c965b275 Stefan Sperling
5 years ago 8c18682195 Stefan Sperling
make 'got update' less chatty
5 years ago 507dc3bb12 Stefan Sperling
add a basic 'got update' command; does not merge files yet
5 years ago e5dc719849 Stefan Sperling
fix 'same path prefix' check during checkout
5 years ago f609be2e65 Stefan Sperling
fix got_worktree_get_repo_path()
5 years ago 2fbdb5aefe Stefan Sperling
remove useless strdup from got_worktree_get_repo_path()
5 years ago 49520a3227 Stefan Sperling
verify path prefix when checking out into existing work tree
5 years ago 381be7cc5b Stefan Sperling
don't bother opening trees outside of path prefix
5 years ago eac9755fe4 Stefan Sperling
don't bother opening a blob if checkout will skip it
5 years ago a207cf0a94 Stefan Sperling
rename add_file_on_disk() to blob_checkout()
5 years ago 144ad43a62 Stefan Sperling
make checkout skip blobs already recorded in file index
5 years ago eecfbcd1f5 Stefan Sperling
introduce macros for status codes
5 years ago a0eb853d32 Stefan Sperling
make checkout status char unsigned
5 years ago d7b62c98be Stefan Sperling
signal existing files in checkout progress output
5 years ago d70b8e3004 Stefan Sperling
allow checkout on top of an existing tree
5 years ago 3c5b70f243 Stefan Sperling
always NUL-terminate paths in write_fileindex_path()
5 years ago 6061990728 Stefan Sperling
fix check for NUL byte in read_fileindex_path()
5 years ago 2e22a7cd96 Stefan Sperling
remove redundant existence check
5 years ago 515140783d Stefan Sperling
preparation for idempotent checkout: read exisiting file index
5 years ago a143fb7868 Stefan Sperling
try to sync file index to disk if checkout hits an error
5 years ago 271d2a38b1 Stefan Sperling
store parsed head reference in struct got_worktree