Skip to content

Conversation

dinocosta
Copy link
Contributor

Fixes the Open Diff action for untracked files when the sort_by_path setting is enabled. The ProjectDiff wasn't correctly moving the multibuffer's cursor to the untracked file because, when that setting is enabled, it's namespace is changed to the tracked namespace, and that wasn't accounted for in move_to_entry.

Closes #39529

Release Notes:

  • Fixed 'Open Diff' action for untracked files when sort_by_path is enabled

Fixes the "Open Diff" action for untracked files with the `sort_by_path`
setting is enabled.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 9, 2025
@dinocosta dinocosta enabled auto-merge (squash) October 9, 2025 14:21
@dinocosta dinocosta merged commit c58931a into main Oct 9, 2025
22 checks passed
@dinocosta dinocosta deleted the 39529-open-diff-fix branch October 9, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open Diff does not work on untracked files when git_panel::sort_by_path = true

1 participant