File: recountdiff.1

package info (click to toggle)
patchutils 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,588 kB
  • ctags: 321
  • sloc: sh: 6,955; ansic: 5,953; xml: 2,356; perl: 402; makefile: 263
file content (68 lines) | stat: -rw-r--r-- 2,283 bytes parent folder | download
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
'\" t
.\"     Title: recountdiff
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 5 July 2002
.\"    Manual: Man pages
.\"    Source: patchutils
.\"  Language: English
.\"
.TH "RECOUNTDIFF" "1" "5 July 2002" "patchutils" "Man pages"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
recountdiff \- recompute patch counts and offsets
.SH "SYNOPSIS"
.HP \w'\fBrecountdiff\fR\ 'u
\fBrecountdiff\fR [\fIfile\fR...]
.HP \w'\fBrecountdiff\fR\ 'u
\fBrecountdiff\fR {[\-\-help] | [\-\-version]}
.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"
.PP
\fB\-\-help\fR
.RS 4
Display a short usage message\&.
.RE
.PP
\fB\-\-version\fR
.RS 4
Display the version number of recountdiff\&.
.RE
.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"
.PP
\fBTim Waugh\fR <\&twaugh@redhat.com\&>
.RS 4
Package maintainer
.RE