1

我想创建一个补丁quilt,其中有一个目录重命名。但quilt add似乎只支持文件。

如果我应该使用quilt add <old_dir>/*,那么如何将重命名的目录添加到我的被子补丁中?在创建它之前调用quilt add <new_dir>,给我一个这样的错误(这里的<new_dir>名字是_include<old_dir>名字是include,补丁名是0001-fix-cross-compile.patch

$ quilt add _include/
/usr/share/quilt/scripts/backup-files: line 104: .pc/0001-fix-cross-compile.patch/_include/: Is a directory
Failed to back up file _include/

如果我使用没有尾随的命令/

$ quilt add _include
File _include added to patch 0001-fix-cross-compile.patch

这不是我的意思。

如果我首先创建目录:

$ mkdir _include
$ quilt add _include
cp: omitting directory '_include'
Failed to back up file _include

如何将新目录添加到我的补丁中?谢谢你。

4

0 回答 0