1EDIT-PATCH(1) General Commands Manual EDIT-PATCH(1)
2
3
4
6 edit-patch, add-patch - tool for preparing patches for Debian source
7 packages
8
9
11 edit-patch path/to/patch
12
13 add-patch path/to/patch
14
15
17 edit-patch is a wrapper script around the Quilt, CDBS, and dpatch patch
18 systems. It simplifies the process of preparing and editing patches to
19 Debian source packages and allows the user to not have to be concerned
20 with which patch system is in use. Run from inside the root directory
21 of the source package, edit-patch can be used to edit existing patches
22 located in debian/patches.
23
24 It can also be used to incorporate new patches. If pointed at a patch
25 not already present, it will copy the patch to debian/patches in the
26 correct format for the patch system in use. Next, the patch is applied
27 and a subshell is opened in order to edit the patch. Typing exit or
28 pressing Ctrl-d will close the subshell and launch an editor to record
29 the debian/changelog entry.
30
31 edit-patch is integrated with the Bazaar and Git version control sys‐
32 tems. The patch will be automatically added to the tree, and the
33 debian/changelog entry will be used as the commit message.
34
35 If no patch system is present, the patch is applied inline, and a copy
36 is stored in debian/patches-applied.
37
38 add-patch is the non-interactive version of edit-patch. The patch will
39 be incorporated but no editor or subshell will be spawned.
40
41
43 edit-patch was written by Daniel Holbach <daniel.holbach@canoni‐
44 cal.com>, Michael Vogt <michael.vogt@canonical.com>, and David Futcher
45 <bobbo@ubuntu.com>.
46
47 This manual page was written by Andrew Starr-Bochicchio
48 <a.starr.b@gmail.com>.
49
50 Both are released under the terms of the GNU General Public License,
51 version 3.
52
53
54
55DEBIAN Debian Utilities EDIT-PATCH(1)