logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

recountdiff - recompute patch counts and offsets

Author

TimWaugh <twaugh@redhat.com>
           Package maintainer

patchutils                                         5 July 2002                                    RECOUNTDIFF(1)

Description

recountdiff 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.

       The corrected diff is sent to standard output.

Limitations

       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 recountdiff to know that. For more precise fixing up, use rediff(1),
       which uses the original and modified diffs.

Name

       recountdiff - recompute patch counts and offsets

Options

--help
           Display a short usage message.

       --version
           Display the version number of recountdiff.

See Also

rediff(1)

Synopsis

recountdiff [file...]

       recountdiff {[--help] | [--version]}

See Also