Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quote parameter to gen_tempfile as needed | Jean Delvare | 2020-10-05 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | | When the parameter passed to gen_tempfile is based on the working directory, we need to quote it because it could contain spaces or other special characters. Also quote the string returned by this function for the same reason. Affected commands: * quilt diff -z * quilt fold * quilt refresh -z * quilt revert Also test these code paths in the test suite to avoid regressions. Signed-off-by: Jean Delvare <jdelvare@suse.de> | ||||
* | test/space-in-work-dir: Increase code path coverage | Jean Delvare | 2017-10-27 | 1 | -0/+5 |
| | | | | | Increase the code path coverage of test case space-in-work-dir by running one command from a subdirectory. | ||||
* | diff/refresh: Add missing quotes in basename call | Jean Delvare | 2017-05-02 | 1 | -0/+55 |
The basename call in function diff_file would fail if any component of the path has a space in its name. This fixes bug #50862: https://savannah.nongnu.org/bugs/?50862 Signed-off-by: Jean Delvare <jdelvare@suse.de> |