.\"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 .