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
5 years ago 5d56da8198 Stefan Sperling
happy new copyright year
5 years ago a7f9d64ddf Stefan Sperling
change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
5 years ago 5095292713 Stefan Sperling
fix various issues in new update implementation
5 years ago 8da9e5f4a4 Stefan Sperling
implement checkout+update as single-pass diff between file index and tree
5 years ago 7a9df742c2 Stefan Sperling
replace use of got_pathset in worktree code with RB tree