gregsexton / gitv

gitk for Vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: diffing ranges of commits

rbong opened this issue · comments

commented

via pixelfrog on Matrix (paraphrasing):

Make it possible to diff arbitrary commits with gitv like with git diff (commit1) (commit2).

My use case is that someone has asked me to review a series of commits, and they broke and fixed stuff along the way; so I just want to compare the initial state and final state. I can do it with gitk using left-click on the first commit and right-click on the second commit.

If I could select the range in the Gitv browser, that would be great. I had tried using a visual select in the Gitv history browser, and then type "D". That's how I expect it might work, if the feature existed.

Similarly, would it be possible to just toggle the diff as well when diffstating? Very useful for reviewing ranges of commits or pull-requests.