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
|
.\"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 "RECOUNTDIFF" 1 "5 July 2002" "patchutils" ""
.SH NAME
recountdiff \- recompute patch counts and offsets
.SH "SYNOPSIS"
.ad l
.hy 0
.HP 12
\fBrecountdiff\fR [\fIfile\fR...]
.ad
.hy
.ad l
.hy 0
.HP 12
\fBrecountdiff\fR {\fB\-\-help\fR | \fB\-\-version\fR}
.ad
.hy
.SH "DESCRIPTION"
.PP
\fBrecountdiff\fR recomputes the counts and offsets in unified context diffs\&. It does this in two passes: first the counts are corrected by inspection of the actual patch lines, and then the offsets are adjusted according to the computed counts\&.
.PP
The corrected diff is sent to standard output\&.
.SH "OPTIONS"
.TP
\fB\-\-help\fR
Display a short usage message\&.
.TP
\fB\-\-version\fR
Display the version number of recountdiff\&.
.SH "LIMITATIONS"
.PP
There are some things that cannot be dealt with\&. If you have removed the first context line in a hunk, for example, there is no way for \fBrecountdiff\fR to know that\&. For more precise fixing up, use \fBrediff\fR(1), which uses the original and modified diffs\&.
.SH "SEE ALSO"
.PP
\fBrediff\fR(1)
.SH AUTHOR
Tim Waugh <twaugh@redhat\&.com>.
|