+3

Select two distant commits to compare

Marcel van Pinxteren 2 years ago updated 3 weeks ago 3

Similar to `git diff <hash1> <hash2>` I want to select the first commit by searching in the log, mark it as "selected", then search the second commit, select it and do a compare. Alternatively, if a commit is selected, any commit can be clicked on to do "compare with selected". BeyondCompare has a similar behavior when selecting files from the Explorer.

Log window

Thank you for your feedback, makes sense we will discuss if this is something we can do in one of the next releases.

Select two commits in the Log Window already display a diff. Is your request about the possibility to mark a commit as selected ? 

+1

Yes. The problem is that the commits are so far apart, that you have to use the search box to find them. There is no way to bookmark or select the first commit and then search the second commit.

A use case is comparing two PRs that target two different release branches. A feature is copied (backported) and we want to check if anything was forgotten. We want to only compare the diffs in the two PRs. I haven't managed to use 'git diff' for this.