5 years ago 88d0e355ca Stefan Sperling
report staged status via status callback
5 years ago 3cd0423509 Stefan Sperling
fix definition of GOT_FILEIDX_F_STAGE_SHIFT
5 years ago fccbfb985c Stefan Sperling
add initial stage test
5 years ago 715dc77e94 Stefan Sperling
add 'got stage' command
5 years ago 4200573374 Stefan Sperling
make got_worktree_stage() expect absolute on-disk paths
5 years ago 1e71573ed6 Stefan Sperling
make stage worktree API look more like the one for 'add'
5 years ago fdfa9bf28f Stefan Sperling
provide a way for API users to override staged file content
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 2c961eb2d8 Stefan Sperling
hook forgotten revert tests to 'make regress'
5 years ago 00db391ed2 Stefan Sperling
fix 'got revert' with new realpath(3) ENOENT behaviour
5 years ago 7fa0d182b1 Stefan Sperling
don't forget to initialize st_mode in revert_file()
5 years ago de426ea6e1 Stefan Sperling
schedule_for_deletion(): return success if file is already deleted
5 years ago ef129c5eb2 Stefan Sperling
tog: plug memleaks in error paths of input_log_view()
5 years ago 3f762da016 Stefan Sperling
rename file index entry variables called 'entry' to 'ie'
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 466d3b326f Stefan Sperling
remove redundant strlen() calls from got_path_cmp()
5 years ago 6f8967eb20 Stefan Sperling
always initialize file index entry's path_len field
5 years ago f2b16adaed Stefan Sperling
cache path length in struct got_pathlist_entry
5 years ago d572f5860a Stefan Sperling
eliminate strlen() calls during fileindex rb tree searches
5 years ago 6bf2c31673 Stefan Sperling
avoid unnecessary memcpy() in read_fileindex_path()
5 years ago fe1d3e7a4a Stefan Sperling
don't potentially leak entry->path in read_fileindex_entry()