mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
87dee24c2d
The main function of wiggle is to apply a patch to a file in a similar manner to the patch(1) program. The distinctive difference of wiggle is that it will attempt to apply a patch even if the before part of the patch doesn't match the target file perfectly. [...] Feature safe: yes
16 lines
698 B
Plaintext
16 lines
698 B
Plaintext
The main function of wiggle is to apply a patch to a file in a similar
|
|
manner to the patch(1) program.
|
|
|
|
The distinctive difference of wiggle is that it will attempt to apply a
|
|
patch even if the "before" part of the patch doesn't match the target
|
|
file perfectly. This is achieved by breaking the file and patch into
|
|
words and finding the best alignment of words in the file with words in
|
|
the patch. Once this alignment has been found, any differences (word-
|
|
wise) in the patch are applied to the file as best as possible.
|
|
|
|
Also, wiggle will (in some cases) detect changes that have already been
|
|
applied, and will ignore them.
|
|
-- Neil Brown
|
|
|
|
WWW: http://neil.brown.name/git?p=wiggle;a=summary
|