5 years ago Stefan Sperling
fix more bugs in the update walk and add more tests
change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
don't bother with memcpy for hdr in got_fileindex_read()
flush the file index after writing it
don't bother with memcpy of header when writing the file index
fix various issues in new update implementation
introduce special error code for a corrupt file index
implement checkout+update as single-pass diff between file index and tree
replace use of got_pathset in worktree code with RB tree
use RB tree directly instead of a pathset in file index code
don't forgot to free file index entries in got_fileindex_free()
switch file index entries from TAILQ to got_pathset
must use safe iteration over file index entries
make 'got update' remove files which were deleted
always NUL-terminate paths in write_fileindex_path()
fix check for NUL byte in read_fileindex_path()
preparation for idempotent checkout: read exisiting file index
store base commit of each blob in file index
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
6 years ago Stefan Sperling
remove GOT_ERR_NO_MEM, we can just use errno in those cases
rename the library-internal headers again to a common prefix
fix worktree test build: remove more unused variables