gregsexton / gitv

gitk for Vim.
938 stars 59 forks source link

Feature request: diffing ranges of commits #130

Open rbong opened 6 years ago

rbong commented 6 years ago

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.

gauteh commented 5 years ago

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