3 years ago Stefan Sperling
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
4 years ago Stefan Sperling
fix definition of the GOT_FILEIDX_MODE_PERMS bitmask
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