5 years ago 5095292713 Stefan Sperling
fix various issues in new update implementation
5 years ago 1c11b35cd6 Stefan Sperling
add a test for got_compare_paths()
5 years ago 8069f63672 Stefan Sperling
implement -c option for 'got checkout'
5 years ago 27793341b0 Stefan Sperling
introduce special error code for a corrupt file index
5 years ago 8da9e5f4a4 Stefan Sperling
implement checkout+update as single-pass diff between file index and tree
5 years ago c1669e2e5f Stefan Sperling
implement recursive mode for 'got tree'
5 years ago 80bd227c82 Stefan Sperling
remove TODO items which have been done
5 years ago 7c1607bc52 Stefan Sperling
add another TODO item
5 years ago 4482e97b9e Stefan Sperling
shorten test name
5 years ago 81a30460ae Stefan Sperling
fix a path matching bug in collect_missing_file()
5 years ago 25a58941e2 Stefan Sperling
remove the pathset abstraction again; replaced by RB tree
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 e01590338c Stefan Sperling
generalize the pathset's path comparison function
5 years ago 025eb8a550 Stefan Sperling
avoid unnecessary strdup() in got_pathset's find_element()
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 8f6d9a6a62 Stefan Sperling
mark got_pathset iteration functions as safe
5 years ago 398789b2a4 Stefan Sperling
fix name of a constant in pathset.c
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 5bff75ab35 Stefan Sperling
5 years ago 26c4ac4df0 Stefan Sperling
stop trying to remove parents if a non-empty parent is traversed
5 years ago ab847d68d0 Stefan Sperling
KNF in pathset_test.c
5 years ago 90285c3b5b Stefan Sperling
properly remove empty directories left behind during updates