Page MenuHomeFreeBSD

diff3: Fix merge mode.
ClosedPublic

Authored by des on Sep 23 2024, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 10:16 AM
Unknown Object (File)
Thu, Sep 25, 4:50 PM
Unknown Object (File)
Wed, Sep 24, 9:23 PM
Unknown Object (File)
Tue, Sep 23, 2:19 AM
Unknown Object (File)
Thu, Sep 11, 9:24 AM
Unknown Object (File)
Sep 6 2025, 6:48 AM
Unknown Object (File)
Sep 5 2025, 6:22 PM
Unknown Object (File)
Sep 3 2025, 5:31 PM
Subscribers

Details

Reviewers
thj
Group Reviewers
Klara
Commits
rGcf73401c4f7a: diff3: Fix merge mode.
Summary

This is mostly thj@'s work, with some tweaks and cleanup by me. There
are still some cases where our output differs from GNU diff3, but it's
much better than before and I'd rather commit what I have now than let
it continue to languish in a metaphorical drawer.

MFC after 3 weeks
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59571
Build 56458: arc lint + arc unit

Event Timeline

des requested review of this revision.Sep 23 2024, 2:51 PM

Looks like an improvement to me, the big comment helps.

Can you bump diff3_version, I think it will help a lot in tracking bug reports.

I would like us to have more tests, but I know how difficult they are to put together.

This revision is now accepted and ready to land.Sep 24 2024, 8:44 AM
This revision was automatically updated to reflect the committed changes.