Commits


add functions to extract object ids from fileindex entries ok stsp


skip ignored directories during 'got status' disk crawl


fix a bug where files skipped by 'got update' could not be updated again ok semarie@


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


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


remove pointless error checking in got_fileindex_entry_filetype_set()


add getter/setter for staged file index entry filetype


reserve some file entry mode bits for a staged file type


give bad symlinks a dedicated file type in the file index


fix definition of the GOT_FILEIDX_MODE_PERMS bitmask


fix ignores when a path is passed to 'got status' Problem reported by semarie, who also provided initial regression test code. ok semarie


remove implicit entry update from got_fileindex_entry_alloc(); just alloc


open files during status crawl in a race-free way, too


prevent the status crawl from racing with paths changing in the filesystem


implement got_worktree_stage_paths()


add staged blob SHA1 to on-disk file index; bump file index version


define file index stage flags


remove ie->path_len; use path length stored in file index entry flags


remove unused fileindex flags


require callers to pass path length to got_fileindex_entry_get()


eliminate strlen() calls during fileindex rb tree searches


add conversion functions for fileindex/stat permission bits


add support for partial updates, which affect specific paths only


add a basic implementation of 'got rm'


implement a basic 'got add' command