~vcs-imports/quilt/master

Viewing all changes in revision 1434.

  • Committer: Jean Delvare
  • Date: 2020-10-05 12:14:33 UTC
  • Revision ID: git-v1:877075d3f525e0beed4c8416c6aa40d61b685c50
Quote parameter to gen_tempfile as needed

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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: