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
5 years ago fc76cabb0c Stefan Sperling
store base commit of each blob in file index
5 years ago eaccb85f72 Stefan Sperling
store a parsed base commit ID in struct got_worktree
5 years ago 0f92850ea2 Stefan Sperling
fix naming of some work tree meta data files and macros
5 years ago 4acef5eedd Stefan Sperling
fix crash in tog when diffing a root commit
5 years ago 93a3027739 Stefan Sperling
make got_worktree_checkout_files() infer base commit from meta data
5 years ago 65596e1591 Stefan Sperling
store base commit in a dedicated meta file
5 years ago 08d425ea09 Stefan Sperling
undo previous
5 years ago a1a7858afe Stefan Sperling
store commit hash along with the HEAD ref in .got/head
5 years ago de060dffe2 Stefan Sperling
handle zero-length files in open_blob() correctly
5 years ago 454a6b592b Stefan Sperling
fix fwrite() call in got_object_blob_dump_to_file()
5 years ago 61d6eaa398 Stefan Sperling
fix broken fwrite() check in add_file_on_disk()
5 years ago b675262576 Stefan Sperling
fix an unchecked fwrite() call in got_object_blob_dump_to_file()
5 years ago f392e333e6 Stefan Sperling
verify total size vs header length in got-read-blob