Commit Briefs
add fd field to got_worktree, modify got_fileindex_entry_update to use fds
These changes are intended to make got more compatible with FreeBSD's Capsicum. ok stsp
cope with directory entries returned from readdir(3) with type DT_UNKNOWN
Such directory entries need special handling to make our directory traversal code work on filesystems that do not support the d_type optimization. I found this problem because references stored in the refs/ directory were not shown by 'got log' and 'tog log' when a repository is mounted over NFS. helpful feedback + ok millert@
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code. ok semarie
remove file index entries from RB tree upon flush to disk
Fixes a file index corruption problem with 'got rebase' found by tracey. ok tracey