5 years ago 6b798c3c8a Stefan Sperling
don't forgot to free file index entries in got_fileindex_free()
5 years ago b504a804cf Stefan Sperling
switch file index entries from TAILQ to got_pathset
5 years ago e1ed7f7744 Stefan Sperling
must use safe iteration over file index entries
5 years ago 512f0d0efc Stefan Sperling
make 'got update' remove files which were deleted
5 years ago 3c5b70f243 Stefan Sperling
always NUL-terminate paths in write_fileindex_path()
5 years ago 6061990728 Stefan Sperling
fix check for NUL byte in read_fileindex_path()
5 years ago 515140783d Stefan Sperling
preparation for idempotent checkout: read exisiting file index
5 years ago fc76cabb0c Stefan Sperling
store base commit of each blob in file index
5 years ago 3fe2daf1bf Stefan Sperling
remove pointless memcopies from fileindex code
5 years ago 7426bbfd03 Stefan Sperling
rename fileindex functions from open/close to alloc/free
5 years ago 9eb6a6b2d1 Stefan Sperling
fix byte-swaps in fileindex read code
5 years ago 52a7447583 Stefan Sperling
implement got_fileindex_read() - not yet tested
6 years ago 0a585a0d64 Stefan Sperling
remove GOT_ERR_NO_MEM, we can just use errno in those cases
6 years ago 718b3ab0e3 Stefan Sperling
rename the library-internal headers again to a common prefix
6 years ago 23b19d00d9 Stefan Sperling
fix worktree test build: remove more unused variables
6 years ago c34b20a267 Stefan Sperling
write file index after checking out files
6 years ago 9d31a1d8a4 Stefan Sperling
initial implementation of worktree checkout
6 years ago 32cb896c4b Stefan Sperling
rename library-private headers from *_priv.h to *_lib.h
6 years ago c48c4a9c3b Stefan Sperling
implement fileindex entry open/close