4 years ago ecd6d584a4 Stefan Sperling
fix definition of the GOT_FILEIDX_MODE_PERMS bitmask
4 years ago 3143d852d7 Stefan Sperling
Problem reported by semarie, who also provided initial regression test code. ok semarie
4 years ago 3969253a05 Stefan Sperling
remove implicit entry update from got_fileindex_entry_alloc(); just alloc
4 years ago 7f91a1339f Stefan Sperling
open files during status crawl in a race-free way, too
4 years ago 6fc93f379e Stefan Sperling
prevent the status crawl from racing with paths changing in the filesystem
5 years ago 0cb83759ff Stefan Sperling
implement got_worktree_stage_paths()
5 years ago df3352425b Stefan Sperling
add staged blob SHA1 to on-disk file index; bump file index version
5 years ago 8371870086 Stefan Sperling
define file index stage flags
5 years ago 4d55540539 Stefan Sperling
remove ie->path_len; use path length stored in file index entry flags
5 years ago 9714e35f37 Stefan Sperling
remove unused fileindex flags
5 years ago d6c8720775 Stefan Sperling
require callers to pass path length to got_fileindex_entry_get()
5 years ago d572f5860a Stefan Sperling
eliminate strlen() calls during fileindex rb tree searches
5 years ago 26a7fe28be Stefan Sperling
add conversion functions for fileindex/stat permission bits
5 years ago c4cdcb68ce Stefan Sperling
add support for partial updates, which affect specific paths only
5 years ago 2ec1f75bbb Stefan Sperling
add a basic implementation of 'got rm'
5 years ago d00136be11 Stefan Sperling
implement a basic 'got add' command
5 years ago eb983b4b76 Stefan Sperling
make file index flags private to fileindex.c
5 years ago e288864f31 Stefan Sperling
renmae GOT_FILEIDX_F_NOT_ON_DISK to GOT_FILEIDX_F_NOT_FLUSHED
5 years ago a0bf6e7678 Stefan Sperling
rename 'intent-to-add' file index flag to 'not-on-disk'
5 years ago 927df6b74a Stefan Sperling
allow restricting 'got diff' and 'got status' to a path in work tree
5 years ago 02c0700795 Stefan Sperling
don't update cached timestamps of already modified files
5 years ago c7f4312fa3 Stefan Sperling
make 'got status' work in subdirectories of a work tree
5 years ago f5d3d7af63 Stefan Sperling
use path lists to sort dirent, tree object, and file index entries
5 years ago d1f6d47b18 Stefan Sperling
add support for diffing fileindex against an on-disk directory tree
5 years ago f44ffd20ba Stefan Sperling
rename tree-specific fileindex diff callbacks