Skip to content

Add commits panel to filter the comparison by commit#146

Open
trin4ik wants to merge 1 commit into
letmaik:masterfrom
trin4ik:commits-panel
Open

Add commits panel to filter the comparison by commit#146
trin4ik wants to merge 1 commit into
letmaik:masterfrom
trin4ik:commits-panel

Conversation

@trin4ik

@trin4ik trin4ik commented Jun 18, 2026

Copy link
Copy Markdown

Adds a "Commits" view below the file tree listing the commits between the base and HEAD, with an "Uncommitted Changes" entry on top. Each row has a checkbox and a files/+/- summary.

By default everything is checked and the tree shows the full comparison. Checking a subset narrows it:

  • single commit -> that commit's own diff (commit^..commit)
  • Uncommitted Changes -> working tree vs HEAD
  • several commits -> combined diff of the selected range
  • Select All / Deselect All in the title bar

Opening a file uses the current selection for the diff sides, and an open preview diff follows the selection while keeping its scroll position. Discard is restricted to the full comparison.

Image
2026-06-18.18.15.50.mp4

Adds a "Commits" view below the file tree listing the commits between the
base and HEAD, with an "Uncommitted Changes" entry on top. Each row has a
checkbox and a files/+/- summary.

By default everything is checked and the tree shows the full comparison.
Checking a subset narrows it:
- single commit -> that commit's own diff (commit^..commit)
- Uncommitted Changes -> working tree vs HEAD
- several commits -> combined diff of the selected range
- Select All / Deselect All in the title bar

Opening a file uses the current selection for the diff sides, and an open
preview diff follows the selection while keeping its scroll position.
Discard is restricted to the full comparison.
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.

1 participant