Skip to content

Open editor in diff view#2904

Merged
extrawurst merged 1 commit intogitui-org:masterfrom
WaterWhisperer:open-editor-in-diff-view
Apr 10, 2026
Merged

Open editor in diff view#2904
extrawurst merged 1 commit intogitui-org:masterfrom
WaterWhisperer:open-editor-in-diff-view

Conversation

@WaterWhisperer
Copy link
Copy Markdown
Contributor

This Pull Request fixes/closes #2805.

It changes the following:

  • DiffComponent now displays the Edit [e] command in mutable diff scenarios and reuses the existing InternalEvent::OpenExternalEditor(Some(path)) flow when e is pressed.

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

@extrawurst extrawurst requested a review from cruessler April 9, 2026 10:27
Copy link
Copy Markdown
Collaborator

@cruessler cruessler left a comment

Choose a reason for hiding this comment

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

Looks good to me! I tested on my Ubuntu machine using cargo run. Just one quick question.

@WaterWhisperer WaterWhisperer force-pushed the open-editor-in-diff-view branch from 05612e0 to a2dc9ab Compare April 10, 2026 01:50
Copy link
Copy Markdown
Collaborator

@cruessler cruessler left a comment

Choose a reason for hiding this comment

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

LGTM!

@extrawurst extrawurst merged commit 8619c07 into gitui-org:master Apr 10, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open editor in diff view

3 participants