https://wiki.koansoftware.com/index.php?title=Create_patches_using_quilt&feed=atom&action=historyCreate patches using quilt - Revision history2024-03-29T02:34:07ZRevision history for this page on the wikiMediaWiki 1.27.1https://wiki.koansoftware.com/index.php?title=Create_patches_using_quilt&diff=314&oldid=prevKoan at 11:43, 5 April 20232023-04-05T11:43:02Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 11:43, 5 April 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21" >Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>...select the file/s you want to modify...</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>...select the file/s you want to modify...</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  $ quilt file1.c</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  $ quilt <ins class="diffchange diffchange-inline">add </ins>file1.c</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>...edit the file and eventually...</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>...edit the file and eventually...</div></td></tr>
</table>Koanhttps://wiki.koansoftware.com/index.php?title=Create_patches_using_quilt&diff=158&oldid=prevKoan: Created page with "== How to create patches using quilt == Quilt is a tool to manage large sets of patches by keeping track of the changes each patch makes. Patches can be applied, un-applied..."2017-08-02T13:49:32Z<p>Created page with "== How to create patches using quilt == Quilt is a tool to manage large sets of patches by keeping track of the changes each patch makes. Patches can be applied, un-applied..."</p>
<p><b>New page</b></p><div>== How to create patches using quilt ==<br />
<br />
Quilt is a tool to manage large sets of patches by keeping track of the changes each patch makes.<br />
Patches can be applied, un-applied, refreshed, etc. The key philosophical concept is that your primary output is patches.<br />
<br />
With quilt, all work occurs within a single directory tree. Commands can be invoked from anywhere within the source tree. <br />
They are of the form quilt cmd similar to CVS, svn or git commands. <br />
They can be abbreviated as long as the specified part of the command is unique. <br />
All commands print some help text with quilt cmd -h.<br />
<br />
<br />
'''This is the typical workflow'''<br />
<br />
$ cd <source_directory><br />
<br />
Create a new patch with the specified file name, and insert it after the topmost patch.<br />
The name can be prefixed with a sub-directory name, allowing for grouping related patches together.<br />
<br />
$ quilt new mytmpwork.patch<br />
<br />
...select the file/s you want to modify...<br />
<br />
$ quilt file1.c<br />
<br />
...edit the file and eventually...<br />
<br />
$ quilt refresh<br />
$ quilt diff > modifications.patch</div>Koan