Commits
- Commit:
f73bf5bd9e54af999a744c731dfb492e1c9b2b6d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace "(cd path && git cmd)" with "git -C path cmd"
This matches the existing use of "got -r path cmd" and
"git_commit path args".
- Commit:
83769d30329a2744571b359ad7c849db5249ca79
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename test to better reflect what it is checking for
- Commit:
993ef5ebc65ee2fc9aa11921674e8e5291a0eef7
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add regression test for 'got rm *' $PWD removal
Patch by Mikhail
- Commit:
31cf15ecf83c7e0bf2e99599b19f43fe2435d75a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got revert' and 'got rm' work on non-existent directories
problem found by robert@
ok jamsek, op
- 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