Commit Briefs

5d56da8198 Stefan Sperling

happy new copyright year


21908da4c3 Stefan Sperling

fix bug where update got confused by sub-sub directories


bd4792ec81 Stefan Sperling

fix more bugs in the update walk and add more tests


a7f9d64ddf Stefan Sperling

change GOT_INDEX_ENTRY prefix to GOT_FILEIDX


b6d05318cb Stefan Sperling

don't bother with memcpy for hdr in got_fileindex_read()


27d0e5bd84 Stefan Sperling

flush the file index after writing it



5095292713 Stefan Sperling

fix various issues in new update implementation


27793341b0 Stefan Sperling

introduce special error code for a corrupt file index



7a9df742c2 Stefan Sperling

replace use of got_pathset in worktree code with RB tree




b504a804cf Stefan Sperling

switch file index entries from TAILQ to got_pathset


e1ed7f7744 Stefan Sperling

must use safe iteration over file index entries


512f0d0efc Stefan Sperling

make 'got update' remove files which were deleted


3c5b70f243 Stefan Sperling

always NUL-terminate paths in write_fileindex_path()


6061990728 Stefan Sperling

fix check for NUL byte in read_fileindex_path()



fc76cabb0c Stefan Sperling

store base commit of each blob in file index


3fe2daf1bf Stefan Sperling

remove pointless memcopies from fileindex code


7426bbfd03 Stefan Sperling

rename fileindex functions from open/close to alloc/free


9eb6a6b2d1 Stefan Sperling

fix byte-swaps in fileindex read code


52a7447583 Stefan Sperling

implement got_fileindex_read() - not yet tested