Commits


fix definition of GOT_FILEIDX_F_STAGE_SHIFT


add initial stage test


add 'got stage' command


make got_worktree_stage() expect absolute on-disk paths


make stage worktree API look more like the one for 'add'


provide a way for API users to override staged file content


implement got_worktree_stage_paths()


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


define file index stage flags


hook forgotten revert tests to 'make regress'


fix 'got revert' with new realpath(3) ENOENT behaviour


don't forget to initialize st_mode in revert_file()


schedule_for_deletion(): return success if file is already deleted


tog: plug memleaks in error paths of input_log_view()


rename file index entry variables called 'entry' to 'ie'