Commits


happy new copyright year


fix bug where update got confused by sub-sub directories


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