File: splitdiff.1

package info (click to toggle)
patchutils 0.2.31-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,384 kB
  • ctags: 261
  • sloc: sh: 6,195; ansic: 5,749; xml: 1,971; perl: 398; makefile: 367
file content (73 lines) | stat: -rw-r--r-- 1,431 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "SPLITDIFF" 1 "21 Oct 2003" "patchutils" ""
.SH NAME
splitdiff \- separate out incremental patches
.SH "SYNOPSIS"
.ad l
.hy 0
.HP 10
\fBsplitdiff\fR [\-a] [\-d] [\-p\ \fIn\fR] [\fIfile\fR]
.ad
.hy
.ad l
.hy 0
.HP 10
\fBsplitdiff\fR {\fB\-\-help\fR | \fB\-\-version\fR}
.ad
.hy

.SH "DESCRIPTION"

.PP
If you have a patch file composed of several incremental patches, you can use splitdiff to separate them out\&. You may want to do this in preparation for re\-combining them with \fBcombinediff\fR(1)\&.

.PP
The effect of running splitdiff is to separate its input into a set of output files, with no output file patching the same file more than once\&.

.SH "OPTIONS"

.TP
\fB\-a\fR
Split out every single file\-level patch\&.

.TP
\fB\-d\fR
Create file names such as \fIa_b\&.c\fR for a patch that modifies \fIa/b\&.c\fR\&.

.TP
\fB\-p\fR \fIn\fR
Strip the first \fIn\fR components of the pathname to aid comparisons\&.

.TP
\fB\-\-help\fR
Display a short usage message\&.

.TP
\fB\-\-version\fR
Display the version number of splitdiff\&.

.SH "SEE ALSO"

.PP
\fBcombinediff\fR(1), \fBlsdiff\fR(1)

.SH AUTHOR
Tim Waugh <twaugh@redhat\&.com>.