Git: compare diffs of two commits

Viewed 918

I have 2 commits and suspect them introduce same difference. I want compare diffs introduced by these commits (not commits itself).

I can do this with next commands

$ git show ad7cfab50e63784bb3168a61101c4f17726b98f1 > d1
$ git show 4ec2d3d981948542111a04172c1d21a5524991f2 > d2
$ diff d1 d2

But may be more convenient way exists?

1 Answers
Related