什么是被子补丁套装?
有一个名为 git-quiltimport 的 git 命令。 它的手册页说它“将 quilt 补丁集应用到当前 git 分支上,保留 quilt 补丁集中存在的补丁边界、补丁顺序和补丁描述。”
但是,它没有定义什么是“被子补丁集”。 什么是“被子补丁集”?
There is a git command called git-quiltimport. Its man pages says it "Applies a quilt patchset onto the current git branch, preserving the patch boundaries, patch order, and patch descriptions present in the quilt patchset."
However, it doesn't define what a "quilt patchset" is. What is a "quilt patchset"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Quilt 是一个补丁管理工具。 这个想法是,它使您可以更轻松地在单个源客户端中维护多个离散的更改集,即使它们涉及相同的文件。
官方网站的细节很少,但如果您正在考虑使用它,那么值得一看。
如果您不使用 quilt,您可能只需要创建另一个客户端来维护单独的更改集,但您必须来回修补更改,这将使两个客户端源代码树受益。
Quilt is a patch managing tool. The idea is that it makes it easier for you to maintain multiple, discrete sets of changes in a single source client, even if they touch the same files.
The official site is sparse on details, but worth if you are thinking of using it.
If you didn't use quilt, you would probably just have to create another client to maintain the separate change sets, but you would have to patch back and forth changes that would benefit both client source trees.
quilt 补丁集是一个特殊的补丁系列,设计用于与 Quilt 工具包一起使用。
被子
Git、Quilt 和其他内核维护工具 (PDF)
A quilt patchset is a special patch series designed for use with the Quilt toolkit.
Quilt
Git, Quilt and Other Kernel Maintenance Tools (PDF)
quilt 补丁集是由 quilt 管理和组合的一组补丁。
补丁集是一组可以应用于一组文件的补丁 - 这些文件可能是代码、文档、数据或其他任何内容,通常是某种类型的文本。 实际的补丁是一个文本文件,它定义了为创建新版本而对原始版本进行的更改,通常是使用程序“diff”生成的。 补丁集是这些 diff 输出的集合,每个输出通常是更改过程中的逻辑步骤。
Quilt 是一个可以管理大量文件上的多个补丁的程序。 它可用于创建补丁文件、选择要应用的补丁文件、导出这些补丁供其他人使用以及从其他地方导入补丁。
有关使用 patch 和 diff 的更多信息,请查看此处:
差异和修补十分钟指南
对于 quilt信息,尝试这些:
被子,补丁管理系统,
quilt 手册页,以及
被子项目页面
A quilt patchset is a set of patches that were managed and put together by quilt.
A patchset is a group of patches that can be applied to a set of files - these files may be code, documention, data, or whatever, usually text of some sort. The actual patch is a text file that defines the changes to be made from the original to create the new version, usually generated by using the program 'diff'. The patchset is a collections of those diff outputs, each is usually a logical step in the change process.
Quilt is a program that can manage many patches over large set of files. It can be used to create the patch files, to select which patch files to be applied, to export those patches for others to use, and to import patches from elsewhere.
For more info on using patch and diff, check here:
The Ten Minute Guide to diff and patch
For quilt info, try these:
Quilt, a patch management system,
quilt manpage, and the
Quilt project page
Quilt 是一个非常轻量级的 SCM 工具,如 Git、Subversion 或 Mercurial。
quiltimport
可让您从 Quilt 导入到 Git。很少有人用被子。 除非您有遗留的 Quilt 补丁,否则您可能不需要
quiltimport
。 具体来说,如果您对 Git 感到满意,就没有理由采用 Quilt。(Quilt 文档中的 quilt.pdf 建议,如果您不想支付更重量级版本控制系统的“开销”,而您只需要其功能的一小部分,那么您可能更喜欢 Quilt。)
Quilt is a very lightweight SCM tool, like Git, Subversion, or Mercurial.
quiltimport
lets you import from Quilt into Git.Very few people use Quilt. Unless you have legacy Quilt patches lying around, you probably have no need for
quiltimport
. Specifically, if you're happy with Git, there's no reason to adopt Quilt.(The quilt.pdf in Quilt's docs suggest you might prefer Quilt if you don't want to pay the "overhead" of a more heavyweight version control system when you only need a small fraction of its functionality.)
如果您将补丁集视为要应用的补丁集,那么 git 2.7 将更好地将补丁集(包含补丁的文件夹)与文件“系列”(提供补丁的有序列表的文件)区分开来。申请)。
请参阅 Juerg Haefliger 的提交 ff60ffd(2015 年 8 月 31 日)。
(由 Junio C Hamano --
gitster
-- 合并于 提交 db9789a,2015 年 10 月 5 日)新选项是:
注意:Git 2.21(2019 年第一季度)添加了“
--keep-non-patch
”选项。请参阅 提交 1eadaa3(2018 年 12 月 12 日),作者:劳拉·阿博特 (
labbott
)。(由 Junio C Hamano --
gitster
-- 合并于 提交 9c51ad5,2019 年 1 月 18 日)If you consider a patch set as a set of patches to be applied, git 2.7 will do a better job to distinguish the patch set (a folder with patches) from the file 'series' (a file that gives an ordered list of patches to apply).
See commit ff60ffd (31 Aug 2015) by Juerg Haefliger.
(Merged by Junio C Hamano --
gitster
-- in commit db9789a, 05 Oct 2015)The new option is:
Note: with Git 2.21 (Q1 2019) adds "
--keep-non-patch
" option.See commit 1eadaa3 (12 Dec 2018) by Laura Abbott (
labbott
).(Merged by Junio C Hamano --
gitster
-- in commit 9c51ad5, 18 Jan 2019)