Commits
- Commit:
6b36edd809ff151ee866ec81cd007767d76cf778
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
accommodate ls -l implementations that print "total 0" in an empty directory
ok stsp
- Commit:
f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch function declarations from Korn shell to Bourne/POSIX shell syntax
ok stsp
- Commit:
766841c2970cb5bef66c9c69201b231d0eefb120
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got remove' which deletes files in a particular status
This makes it easy to deal with files that were deleted from disk by external
tooling which modified the work tree. Such files are left in missing (!)
status and can now be marked for deletion in bulk via 'got rm -s\! -R .'
For consistency, modified (M) files can now be removed with 'got rm -s M'
which implies 'got rm -f'.
Prompted by feedback from krw@
- Commit:
7fb414ae4d46ebdaeff458477ba801f9ad5853c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -q option to tests for quiet output and use it for 'make regress'
Previous default output remains when test cases are run individually.
ok tracey
- Commit:
64773fdebbd1384548293154978d3e6e3f2e66ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expand test cases in test_rm_symlink
- Commit:
a919d5c4ebaba5cf7b48888745d8b554acf6fe3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' work on symlinks; test case written by tracey
- Commit:
9c2e8939ca5f2599eac9d215a6e7747b3dbfe482
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix test sandbox name of test_rm_directory_keep_files
- Commit:
15341bfd54bbabbe30297c358faf41ee05e247da
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
trim directories in got remove -R
This is a racy solution that needs to be properly implemented in the future.
ok stsp
- Commit:
70e3e7f5a129106c0c31204233b35dfdf0d6a990
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add -k option to 'got remove' to keep files on disk
ok stsp
- Commit:
f2a9dc41d851ff2d575b08c2766583ff11cdd7af
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add -R option to 'got remove' for recursive deletion
ok stsp
- Commit:
f0b0c0cee4bcde602c12bf5a2be6bd107a7ced66
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'mv foo bar; got rm foo; got add bar' and put paths in error messages
- Commit:
6d022e974716847d3f3c3bc97dac50e61663c49c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
17ed46186c2a79ae984817ddcdab9f803f23636a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow removing multiple paths at once for 'got rm'
- Commit:
8d301dd94ca3964729aa83b8031e7502a1111f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use cmp -s, instead of cmp, in all command line tests
- Commit:
2af4a0419220dba40c25f0f6af548638b5ae3a1b
- From:
- joshua stein <jcs@jcs.org>
- Date:
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
- Commit:
71a293558dcac7d17b10ae63f911aaf3f5b30df2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix behaviour when 'got rm' is used twice
- Commit:
2ec1f75bbb4d6fb8f39613e5012392bae851aa8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic implementation of 'got rm'