Commits


make 'got status' detect obstructed files


move all file modification detection code to a single function


fix memleak in previous commit


we must use dynamic allocation for dirents in diff_fileindex_dir()


fix code before declaration


fix an uninitialized variable in diff_fileindex_dir()


use path lists to sort dirent, tree object, and file index entries


add a caller-provided data pointer to path list elements


fix insert_ref() to provide ordering similar to path lists


allow for detecting path duplicates with got_pathlist_insert()


add a pathlist API


insert at tail of list in insert_dirent()


add two more status tests


append to tail of reflist, not to the head of the list


add a basic test for 'got status'