Commits


fix bug where 'got up -c commit path' deleted unrelated files from work tree Problem reported by Timo Myyrä


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


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()