Patch Viewer
The Idea
Patch viewer is the start of a new system to allow easy viewing
and management of patches.
It is currently distributed as a set of patches to the mgdiff
program.
The main patch is here
and the
shell script to view patch is here
A second patch is required for
recent versions of debian (since mgdiff-1.0-20) which have a
different implementation of the select function in mgdiff.c
Details
Patch viewer adds 2 features to mgdiff.
- X Paste of the most recently selected diff hunk.
- A wrapper to view patches, by appliy them to a temporary file first
Source
Yes, this program is deliver as source patchs.
All new files in the patch distributed under the GPL, changes
to existing files are dsitributed uner the X license to
remain 'compatible' with existing mgdiff distribution.
Versions
Todo
A lot !. At the very least the following come to mind.
- Option to paste hunks in various diff formats.
- Option to select for pasting multiple hunks.
- Ability to read patch files directly to the mgdiff program.