Commits


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


catch fatal i/o errors in add_file_on_disk()


remove pointless memcopies from fileindex code


rename fileindex functions from open/close to alloc/free


fix byte-swaps in fileindex read code


implement got_fileindex_read() - not yet tested


rename local variable in got_worktree_checkout_files()