Commits
- Commit:
49c543a6fe888394ca86e6399c706a9965486134
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use test(1) -eq and -ne to compare integers, and reduce quoting
This brings the rest of the regression test scripts in line with
patch.sh.
- Commit:
692bdcc498e440f1604cf7ba8a5cac22966c2ece
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' report an "unexpected status" error for unversioned files
ok millert@
- Commit:
4e12cd97c02ae412c5a247dfaffa22ad58dd98b4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' behave like rm(1) for paths found missing on disk
ok millert@
- Commit:
10a623dfc23b47f494941e0eac741420c08372a3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort and de-duplicate work tree path command line arguments
This is important in cases like 'got diff file.txt file.txt' which
should only show the diff for file.txt once.
suggested by kn@
- 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