Commit Briefs

70e3e7f5a1 Tracey Emery

add -k option to 'got remove' to keep files on disk

ok stsp


f2a9dc41d8 Tracey Emery

add -R option to 'got remove' for recursive deletion

ok stsp



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.


17ed46186c Stefan Sperling

allow removing multiple paths at once for 'got rm'


8d301dd94c Stefan Sperling

use cmp -s, instead of cmp, in all command line tests


2af4a04192 joshua stein

got_error_set_errno: take a char arg to pass to got_error_prefix_errno

$> got rm a got: : No such file or directory becomes $> got rm a got: /path/to/a: No such file or directory


71a293558d Stefan Sperling

fix behaviour when 'got rm' is used twice


2ec1f75bbb Stefan Sperling

add a basic implementation of 'got rm'