Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge_tools: clean up Diff/MergeEditor interface #3180

Merged
merged 5 commits into from
Mar 2, 2024

Conversation

yuja
Copy link
Collaborator

@yuja yuja commented Mar 2, 2024

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

yuja added 5 commits March 2, 2024 12:25
This makes sense because the editor doesn't interact with the transaction.
…ditor

For the same reason as the previous commit. The editor has nothing to be done
with the transaction.
There are no users of this option in jj-lib. Let's simplify it.
I considered inlining tx.select_diff(), but that looked a bit cryptic because
the arguments orders are reasonably different. This thin wrapper will help
enforce the common interactive editing behavior.
Copy link
Owner

@martinvonz martinvonz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@yuja yuja merged commit 8558685 into martinvonz:main Mar 2, 2024
16 checks passed
@yuja yuja deleted the push-tpskzltzorsu branch March 2, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants