5 years ago fc727cc528 Stefan Sperling
insert at tail of list in insert_dirent()
5 years ago 554b91b15a Stefan Sperling
oops, fix endless loop in diff_fileindex_dir(); code was missing somehow
5 years ago 500cd40f2b Stefan Sperling
make fileindex dir diff traverse dirents in git-tree order
5 years ago b25ae4fac5 Stefan Sperling
ignore top-level .got dir during fileindex dir diff
5 years ago b1ec3986a7 Stefan Sperling
skip "." and ".." in diff_fileindex_dir()
5 years ago d1f6d47b18 Stefan Sperling
add support for diffing fileindex against an on-disk directory tree
5 years ago f44ffd20ba Stefan Sperling
rename tree-specific fileindex diff callbacks
5 years ago 62d20534cc Stefan Sperling
remove redundant condition check in cmp_entries()
5 years ago bad322f277 Stefan Sperling
make cmp_entries() operate on paths instead of structs
5 years ago 9d2a8e5300 Stefan Sperling
move forward declaration of diff_fileindex_tree() further down
5 years ago 70e2377c02 Stefan Sperling
move definition of cmp_entries() closer to point of use
5 years ago 63de413661 Stefan Sperling
turns out in_same_subdir() check is mostly redundant
5 years ago c18d206ea9 Stefan Sperling
simplify in_same_subdir()
5 years ago 8598730929 Stefan Sperling
eliminate code duplication in cmp_entries() and in_same_subdir()
5 years ago 99fda3ad1a Stefan Sperling
eliminate redundant strlen() call inside in_same_subdir()
5 years ago 5d79cba5f4 Stefan Sperling
eliminate redundant strlen() call in cmp_entries()
5 years ago 6e8d14a311 Stefan Sperling
eliminate code duplication in cmp_entries()
5 years ago fd92308e18 Stefan Sperling
invert same subdir check in cmp_entries(); no functional change
5 years ago f06111e55c Stefan Sperling
remove unused parameter of in_same_subdir()
5 years ago 5d56da8198 Stefan Sperling
happy new copyright year
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 a7f9d64ddf Stefan Sperling
change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
5 years ago b6d05318cb Stefan Sperling
don't bother with memcpy for hdr in got_fileindex_read()
5 years ago 27d0e5bd84 Stefan Sperling
flush the file index after writing it