regress/cmdline/rm.sh


Log

Author Commit Date CI Message
Stefan Sperling 64773fde 2020-07-23T14:21:27 expand test cases in test_rm_symlink
Stefan Sperling a919d5c4 2020-07-23T14:21:27 make 'got rm' work on symlinks; test case written by tracey
Stefan Sperling 9c2e8939 2020-03-22T15:02:28 fix test sandbox name of test_rm_directory_keep_files
Tracey Emery 15341bfd 2020-03-05T14:39:37 trim directories in got remove -R This is a racy solution that needs to be properly implemented in the future. ok stsp
Tracey Emery 70e3e7f5 2019-12-13T20:05:57 add -k option to 'got remove' to keep files on disk ok stsp
Tracey Emery f2a9dc41 2019-12-13T00:29:28 add -R option to 'got remove' for recursive deletion ok stsp
Stefan Sperling f0b0c0ce 2019-08-04T18:41:02 fix 'mv foo bar; got rm foo; got add bar' and put paths in error messages
Stefan Sperling 6d022e97 2019-08-04T12:45:17 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.
Stefan Sperling 17ed4618 2019-06-02T21:24:17 allow removing multiple paths at once for 'got rm'
Stefan Sperling 8d301dd9 2019-05-14T11:35:15 use cmp -s, instead of cmp, in all command line tests
joshua stein 2af4a041 2019-05-11T16:21:20 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
Stefan Sperling 71a29355 2019-03-27T07:48:54 fix behaviour when 'got rm' is used twice
Stefan Sperling 2ec1f75b 2019-03-26T10:35:33 add a basic implementation of 'got rm'