Commits


use modern POSIX timestamp fields in struct stat ok stsp


fix use of uninitialized variable in got_fileindex_entry_update()


set a staged file type and handle it separately from the on-disk file type


mark functions which are not exposed to other files as static


more fixes for setting/getting file index entry filetype and permissions


remove pointless error checking in got_fileindex_entry_filetype_set()


add getter/setter for staged file index entry filetype


handle on-disk file index entry filetypes properly


give bad symlinks a dedicated file type in the file index


keep file index entry permission bits clear for symlinks


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


fix symlink check in got_fileindex_entry_update()


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


remove implicit entry update from got_fileindex_entry_alloc(); just alloc