HomeFreeBSD

diff3: allow diff3 ed scripts to generate deletions

Description

diff3: allow diff3 ed scripts to generate deletions

diff3 with the -e (ed script flag) can generate line deletions, add
support for deletions and add a test case to exercise this behaviour.
This functionality was unearthed through comparison of bsd diff3 and gnu
diff3 output.

Reviewed by: pstef
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34912

Details

Provenance
thjAuthored on Apr 15 2022, 1:59 PM
Reviewer
pstef
Differential Revision
D34912: diff3: allow diff3 ed scripts to generate deletions
Parents
rG362ff9867e9f: Revert rest of a5970a529c2d95271: use vrefact() when working on fp->f_vnode
Branches
Unknown
Tags
Unknown