From 3be121a05dcd170854a8dac6437b29f297a6ff4e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:01:11 +0200 Subject: Adding upstream version 2.23.4+deb12u1. Signed-off-by: Daniel Baumann --- doc/edit-patch.1 | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 doc/edit-patch.1 (limited to 'doc/edit-patch.1') diff --git a/doc/edit-patch.1 b/doc/edit-patch.1 new file mode 100644 index 0000000..70b0ac9 --- /dev/null +++ b/doc/edit-patch.1 @@ -0,0 +1,43 @@ +.TH EDIT-PATCH "1" "Debian Utilities" "DEBIAN" +.SH NAME +\fBedit-patch\fR, \fBadd-patch\fR \- tool for preparing patches for Debian +source packages + +.SH SYNOPSIS +\fBedit-patch\fR \fIpath/to/patch\fR + +\fBadd-patch\fR \fIpath/to/patch\fR + +.SH DESCRIPTION +\fBedit-patch\fR is a wrapper script around the Quilt, CDBS, and dpatch patch +systems. It simplifies the process of preparing and editing patches to Debian +source packages and allows the user to not have to be concerned with which patch +system is in use. +Run from inside the root directory of the source package, \fBedit-patch\fR can +be used to edit existing patches located in \fIdebian/patches\fR. + +It can also be used to incorporate new patches. +If pointed at a patch not already present, it will copy the patch to +\fIdebian/patches\fR in the correct format for the patch system in use. +Next, the patch is applied and a subshell is opened in order to edit the patch. +Typing \fBexit\fR or pressing Ctrl-d will close the subshell and launch an editor +to record the \fIdebian/changelog\fR entry. + +\fBedit-patch\fR is integrated with the Bazaar and Git version control systems. +The patch will be automatically added to the tree, and the \fIdebian/changelog\fR +entry will be used as the commit message. + +If no patch system is present, the patch is applied inline, +and a copy is stored in \fIdebian/patches-applied\fR. + +\fBadd-patch\fR is the non-interactive version of \fBedit-patch\fR. +The patch will be incorporated but no editor or subshell will be +spawned. + +.SH AUTHORS +\fBedit-patch\fR was written by Daniel Holbach , +Michael Vogt , and David Futcher . + +This manual page was written by Andrew Starr-Bochicchio . +.PP +Both are released under the terms of the GNU General Public License, version 3. -- cgit v1.2.3