Commits


add a change log


merge create_staged_content() and create_reverted_content() helpers


implement 'revert -p'


make revert of a staged deletion a no-op for better interaction with -R


implement got revert -R


in revert_file(), only construct on-disk path when actually needed


rename local variable on got_worktree_revert()


implement revert with a status walk to prepare for 'revert -p'


ensure that file index entry perms map to regular files


try to document double-status codes more clearly


test repeated stage -p on added and deleted files


fix and test repeated stage -p on the same file


add test with out-of-date staged files


test stage/unstage with non-existent paths


fix command name in error messages printed by unstage tests