Comment 0 for bug 1993080

Revision history for this message
i30817 (i30817) wrote :

quilt, the utility to patch files programmatically in linux is not very useful when the files have a space or more in the name or path.

It actually works, but quilt refresh will create a diff file where the file headers, for instance:

--- CQM.orig/dlg/santa monica/jeanette.dlg
+++ CQM/dlg/santa monica/jeanette.dlg

have no tab at the end, so quilt push will actually apply the patch, but quilt pop will say it can't find the files to 'pop'.

git-diff apparently always adds a tab at the end probably to prevent this nonsense.

This is very obscure information, and it's unlikely people will find out, and will simply not use quilt.

I can't change the names btw. That quilt even allows the option of 'working around' this in this way and that git-diff will do this by default indicate that there is some purity argument going on (even without any idea of the history of this decision), but at least i'd like the option to follow the git-diff format on refreshes so this doesn't happen.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: quilt 0.66-2.1
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Sun Oct 16 21:34:58 2022
InstallationDate: Installed on 2021-06-05 (498 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
SourcePackage: quilt
UpgradeStatus: No upgrade log present (probably fresh install)