summaryrefslogtreecommitdiffstats
path: root/doc/main.tex
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-11-20 10:59:05 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-11-20 10:59:05 +0000
commit15efbaf998f3f4a00560839cc9f44b8dfac8aab6 (patch)
tree1102874a64ed9cf461ad8f11d56c5161df665a12 /doc/main.tex
parentf78c39397330a23b2cb4353bb42d2eb35913436f (diff)
downloadquilt-15efbaf998f3f4a00560839cc9f44b8dfac8aab6.tar.gz
Add description of "quilt fold" command.
Diffstat (limited to 'doc/main.tex')
-rw-r--r--doc/main.tex22
1 files changed, 7 insertions, 15 deletions
diff --git a/doc/main.tex b/doc/main.tex
index 71e2e2f..aba7056 100644
--- a/doc/main.tex
+++ b/doc/main.tex
@@ -507,21 +507,13 @@ name. (An entry for \textsf{a.diff} with strip level zero might read
``{\small \verb|a.diff -p0|}''.)
Another common operation is to incorporate a fix or similar that comes
-as a patch into the topmost patch. While there is no specific command
-for this, the desired result can be achieved by first adding all the
-files that the fix modifies into the patch, and then apply the patch to
-the working tree. The following commands achieve this for a patch with
-a strip level of one:\footnote{
- \prog{lsdiff} is part of the \textit{patchutils} package, and
- generates a list of files a patch modifies.
-}
-
-\begin{small}
-\begin{Verbatim}
-\sh{$ quilt add `lsdiff --strip 1 patch.diff`}
-\sh{$ patch -p1 < patch.diff}
-\end{Verbatim}
-\end{small}
+as a patch into the topmost patch. This can be done by hand by first
+adding all the files contained in the additional patch to the topmost
+patch with \quilt{add},\footnote{
+ The \prog{lsdiff}, which is part of the \textit{patchutils}
+ package, generates a list of files affected by a patch.
+} and then applying the patch to the working tree. The \quilt{fold}
+command combines these steps.
\subsection{Forking}
\label{sec:forking}