Diff viewer for a file chosen in the commit preview #1

Open
opened 2026-10-14 23:19:49 +00:00 by szaman · 0 comments
Owner

Open a diff view for a file from the commit preview panel.

What

In the preview panel at the bottom, the right side lists the files a commit changed. Choosing one of those files (click, or keyboard) should show what changed in that file in that commit.

Open questions

  • Where the diff shows: inside the preview panel, in place of the commit list, or in its own window.
  • Layout: one column with removed and added lines mixed, or old and new side by side.
  • Keyboard: how to move between files and close the diff.
  • Merge commits: compare with the first parent, as the file list already does.
  • Renamed files, binary files, and very large diffs.
Open a diff view for a file from the commit preview panel. ## What In the preview panel at the bottom, the right side lists the files a commit changed. Choosing one of those files (click, or keyboard) should show what changed in that file in that commit. ## Open questions - Where the diff shows: inside the preview panel, in place of the commit list, or in its own window. - Layout: one column with removed and added lines mixed, or old and new side by side. - Keyboard: how to move between files and close the diff. - Merge commits: compare with the first parent, as the file list already does. - Renamed files, binary files, and very large diffs.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: szaman/gites#1