5 years ago 5d56da8198 Stefan Sperling
happy new copyright year
5 years ago 14bbd1f011 Stefan Sperling
remove redundant goto statement
5 years ago c65fcef2fb Stefan Sperling
fix leaks in add_dir_on_disk(), and ensure all parents get created
5 years ago 21908da4c3 Stefan Sperling
fix bug where update got confused by sub-sub directories
5 years ago bd4792ec81 Stefan Sperling
fix more bugs in the update walk and add more tests
5 years ago c97665ae45 Stefan Sperling
tolerate missing files in remove_ondisk_file()
5 years ago 5f9fef3754 Stefan Sperling
avoid redundant file index additions in install_blob()
5 years ago cf61d8187f Stefan Sperling
allow recovery of a bad file index by removing it and updating
5 years ago 4a1ddfc2ae Stefan Sperling
fix bug where update forgot to create a parent directory
5 years ago 7e7c1e4c1d Stefan Sperling
avoid pointless call to got_error_from_errno()
5 years ago 8da9e5f4a4 Stefan Sperling
implement checkout+update as single-pass diff between file index and tree
5 years ago 81a30460ae Stefan Sperling
fix a path matching bug in collect_missing_file()
5 years ago 7a9df742c2 Stefan Sperling
replace use of got_pathset in worktree code with RB tree
5 years ago 133d2798cc Stefan Sperling
use RB tree directly instead of a pathset in file index code
5 years ago b504a804cf Stefan Sperling
switch file index entries from TAILQ to got_pathset
5 years ago 8f6d9a6a62 Stefan Sperling
mark got_pathset iteration functions as safe
5 years ago 4ba899b3f7 Stefan Sperling
remove entry from file index after removing on-disk file, not before
5 years ago 63f4f47b30 Stefan Sperling
whitespace
5 years ago 26c4ac4df0 Stefan Sperling
stop trying to remove parents if a non-empty parent is traversed
5 years ago 90285c3b5b Stefan Sperling
properly remove empty directories left behind during updates
5 years ago e1ed7f7744 Stefan Sperling
must use safe iteration over file index entries
5 years ago 5cc266baad Stefan Sperling
make 'got update' remove directories in a checkout with path prefix
5 years ago 1f46d0af75 Stefan Sperling
rename misleadinly named field in struct collect_missing_entry_args
5 years ago 82d71325af Stefan Sperling
improve wording of a comment in tree_checkout()
5 years ago f5c49f8237 Stefan Sperling
make 'got update' remove empty directories