5 years ago Stefan Sperling
rename add_file_on_disk() to blob_checkout()
make checkout skip blobs already recorded in file index
introduce macros for status codes
make checkout status char unsigned
signal existing files in checkout progress output
allow checkout on top of an existing tree
always NUL-terminate paths in write_fileindex_path()
fix check for NUL byte in read_fileindex_path()
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
fix crash in tog when diffing a root commit
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
handle zero-length files in open_blob() correctly
fix fwrite() call in got_object_blob_dump_to_file()
fix broken fwrite() check in add_file_on_disk()
fix an unchecked fwrite() call in got_object_blob_dump_to_file()
verify total size vs header length in got-read-blob