Commit Briefs


6d022e9747 Stefan Sperling

use get_worktree_paths_from_argv consistently; improves add/rm edge cases

Double 'got rm' becomes a no-op like double 'got add' already is, and 'got add' of an already staged file is now an error.



ad493afcc0 Stefan Sperling

initial 'got unstage' implementation


5f8a88c62b Stefan Sperling

make 'got commit' work with changed stanges



a76c42e670 Stefan Sperling

ensure that 'got update' refuses to update staged files



735ef5acf1 Stefan Sperling

reject staging of out-of-date files


ebf48fd51b Stefan Sperling

handle conflicted files passed to 'got stage'


98eaaa123b Stefan Sperling

implement got diff -s


d3e7c587d4 Stefan Sperling

handle double-staging


24278f3006 Stefan Sperling

make 'got revert' work with staged files


9acbc4faa0 Stefan Sperling

test 'got rm' behaviour on staged files



537ac44b6c Stefan Sperling

pass staged blob ID to status callback


c363b2c176 Stefan Sperling

show staged file status separately in 'got status'


88d0e355ca Stefan Sperling

report staged status via status callback


4200573374 Stefan Sperling

make got_worktree_stage() expect absolute on-disk paths


1e71573ed6 Stefan Sperling

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



0cb83759ff Stefan Sperling

implement got_worktree_stage_paths()


7fa0d182b1 Stefan Sperling

don't forget to initialize st_mode in revert_file()